Cornysz Posted November 30, 2018 Posted November 30, 2018 wik = gg.getResults(10)for i, v in ipairs(wik) dowik.value = '1'wik.freeze = falsewik.freezeType = gg.FREEZE_NORMALendgg.addListItems(wik) I want to edit all to 1 but in this script, it only save to the saved list not change the value to 1How to fix this? thanks in advance
Administrators Enyby Posted November 30, 2018 Administrators Posted November 30, 2018 Use setValues if you need only setValues. When you add item to saved list, then value set too. You doing wrong loop. use wik instead of v, so you do not change anything.
Cornysz Posted November 30, 2018 Author Posted November 30, 2018 Use setValues if you need only setValues. When you add item to saved list, then value set too. You doing wrong loop. use wik instead of v, so you do not change anything.Oh okay, my bad. Thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.