ItemRenderer of a List has a Checkbox. On changing the selection of checkbox at Index = 0, I want to copy its value to the rest of the items in the list i.e. if item at index 0 is checked then all checkboxes in other items in list should get checked.
My approach: Dispatching an event from ItemRenderer and catch this event at List and in the handler function, copy its value by looping through all the Items in the list. Is that the right approach? Pls help.
Well, I dont see any other approach, unless the virtualLayout = false is set on the list. If the virtualLayout is false, then each itemrender would catch the event and set the property on itself.
I agree, this is the correct way to do this.