When you scroll a DataGrid, it recycles renderers -- the one that scrolls off the top goes to the bottom -- to optimize performance; that way it only has to create as many renderers as are visible.

 

You're presumably seeing stale state information. Can you post a small example to show how you are setting the state?

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of Matti Bar-Zeev
Sent: Wednesday, August 02, 2006 2:47 AM
To: [email protected]
Subject: [flexcoders] again - DataGrid rows and wows

 

Hi list,

Can someone please tell me if the mess that scrolling a datagrid produces is a known bug or just me doing something wrong?

What I mean by "mess"? I mean that the top row goes to the bottom; the bottom row goes to the top only to prevent rendering non-viewable rows. This causes my cell renderers to lose touch with their initial place and state… and what not.

 

Thnx.

 

 

 

 

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to