Dj-jom2x Posted April 26, 2018 Share Posted April 26, 2018 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 More sharing options...
Administrators Enyby Posted April 26, 2018 Administrators Share Posted April 26, 2018 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 More sharing options...
Dj-jom2x Posted April 26, 2018 Author Share Posted April 26, 2018 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 More sharing options...
CmP Posted April 26, 2018 Share Posted April 26, 2018 Use gg.addListItems instead of gg.setValues. Link to comment Share on other sites More sharing options...
Question
Dj-jom2x
1: setValues - editing freeze value doesn't work..
2: setValues can only change values if its not on freeze state
you can call the list items again just to see the freeze still false even if you set on true. like this
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
Archived
This topic is now archived and is closed to further replies.