large number of check box in page: repeater or arrays?
-
I would insert a large number of check box on mypage (100 or 200) and setting it on startup using setting and state machine.
So I need to iterate trought check box using for statement to save and set control state. For these pourpose better is using arrays or repeater? I would set text property and checked/unchecked state.... for example the name of control is stored in qlist model ....
is possible to have minimal example?
-
I would insert a large number of check box on mypage (100 or 200) and setting it on startup using setting and state machine.
So I need to iterate trought check box using for statement to save and set control state. For these pourpose better is using arrays or repeater? I would set text property and checked/unchecked state.... for example the name of control is stored in qlist model ....
is possible to have minimal example?
@gfxx At the end I use repeater .... i can refer to the control using these:
myRepeaterId.itemAt(integerIndex).text = "hello world" /* for change button text */ myRepeaterId.itemAt(integerIndex).checked = true /* for change from unchecked to checked*/
regards