Re: [flexcoders] Problem with "memory effect" on datagrid

2006-10-08 Thread Harish Sivaramakrishnan
In case of itemRenderers, when you scroll the renderers are recycled and they dont quite remember their states, one way to get over this problem is to override the public setter data in your itemRenderer codesomething like: override public function set data( value:Object):void{}Hope this helpsHa

[flexcoders] Problem with "memory effect" on datagrid

2006-10-08 Thread Jesús Iglesias
I have a datagrid in which I have an itemRenderer (a canvas with a text field). Depend on certain value of data, I change the background color of the canvas and the text of textfild. The problem comes when I have many records and scrollbar appears on datagrid. When scrolling the values of