First of all, thnx.

This doesn't solve my problem. I think it has something to do with the grid's height being set to 100%. Once I set it to a fixed size – the problem seems to go away.

Weird stuff… what can I say. Looks like a flex bug.

 


From: [email protected] [mailto:[email protected]] On Behalf Of Tracy Spratt
Sent: Monday, July 31, 2006 8:56 PM
To: [email protected]
Subject: RE: [flexcoders] FLEX 1.5 || dataGrid CellRenderer + viewable

 

The list controls recycle the display components, so they have to get the current data from the dataProvider each time they come into view.  If you are initializing values in the constructor, that is what you are always going to get. 

 

You should be getting your data from the dataProvider.  And if you are modifying data, you must save that data to the dataProvider.

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Matti Bar-Zeev
Sent: Monday, July 31, 2006 10:49 AM
To: [email protected]
Subject: [flexcoders] FLEX 1.5 || dataGrid CellRenderer + viewable

 

Hi list,

Simple question: CellRenderer in dataGrid seems to invoke setValue each time a cell (or row for that matter) come into view. I traced the constructor and it doesn't happen when the cell come to view – but it seems that all the variables I hold inside the cell go to their initial value (which is set in the constructor).

What, in flex-team name, is going on?

Where can I read something about what dataGrid does with the non-viewable items it has?

 

Thnx.

 

 

 

 

 


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


______________________________________________________________________
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