Hi try using an array instead of arrayCollection, the arrayCollection fiers of refresh() when you are overriding the data function.
or do not use overriding, init the events when you clikc on the button. and remove after ... Cato Paus --- In [email protected], "Florian d'Erfurth" <[EMAIL PROTECTED]> wrote: > > I think i've spotted a bug in List, anyway weird things happens: > > As soon as i have variableRowHeight set to true for a List and its custom > item renderer with set data overrid, components resizing are swapped amongst > the itemRenderers. > > > Here's an example, in a renderer a button resize itself on click: > > <mx:Button height="30" id="myButton" > click="myButton.height = ( myButton.height == 30 ) ? 60 : 30" > /> > > well if the user click the button, that's not the one clicked that will be > resized but another one in another random item renderer. > > The funny thing is that it happens only if: > List variableRowHeight is set to true > set data is overrid in the item renderer > > also that happen only on height change. > > > My problem is that i need to show/hide the controls of my item editors on > mouse over, i'll post some demo code later. >
