Your renderer should only display stuff based on its data property (or
associated data properties).  A button should update a property on each
data item which will then be reflected by the renderer when it is used to
display an item that was off-screen.

-Alex

On 6/9/13 9:38 PM, "Sumudu Chinthaka" <[email protected]> wrote:

>hi
>
>i have a list with a custom ItemRenderer with a button on it
>when the button click inside a renderer i want to update all other
>renderers with some specific value
>
>so what i did was add a event listener and the handler inside the
>itemrendere to response to button click event
>
>this works fine for the items that are displayed on the screen
>i think due to item renderer recycling what ever items that are not
>displayed in the screen does not receive this event
>as i scroll down the list i could see those items not being update and
>only
>the top items of the list that were displayed on the screen updated
>
>how can i force to update all items upon my event
>
>thanks
>Sumudu

Reply via email to