Jump to content
  • 0

about setValues when the item is on freeze state


Dj-jom2x

Question

1: setValues - editing freeze value doesn't work.. 

r = gg.getListItems()
r[1].freeze = true
gg.setValues(r)

2: setValues can only change values if its not on freeze state

r = gg.getListItems()
r[1].value = 200
gg.setValues(r)
  

you can call the list items again just to see the freeze still false even if you set on true. like this

 r = gg.getListItems()
 r[1].freeze = true
 gg.setValues(r)
 d = gg.getListItems()
 print(d)

maybe im missing something or its gg fault. need clarification thanks..

 

~ godbless you all..

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • Administrators
1 hour ago, Dj-jom2x said:

1: setValues - editing freeze value doesn't work.. 

Of course no. Freeze used only in addListItems. Not in setValues. Read API docs.

1 hour ago, Dj-jom2x said:

2: setValues can only change values if its not on freeze state

No. It change it. But after short time (around 33 ms) it will be rewritten with freezed value. You need off freeze or change value in freeze.

1 hour ago, Dj-jom2x said:

you can call the list items again just to see the freeze still false even if you set on true. like this

Same as first. Wrong call. Need addListItems, not setValues.

 

Link to comment
Share on other sites

6 hours ago, Enyby said:

Of course no. Freeze used only in addListItems. Not in setValues. Read API docs.

No. It change it. But after short time (around 33 ms) it will be rewritten with freezed value. You need off freeze or change value in freeze.

Same as first. Wrong call. Need addListItems, not setValues.

 

hmm my target is to change the freeze state and value on savedlist :)programmatically 

any suggestions? so i dont have to search the adresss again and edit it ..

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.