2 Replies Latest reply on Mar 21, 2011 12:46 PM by Codeflayer

    Copying a value in all items of an ItemRenderer ?

    Abhinav Sharma Level 2

      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.