|
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. From: 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.
-- 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
YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [flexcoders] FLEX 1.5 || dataGrid CellRenderer + viewab... Tracy Spratt
- RE: [flexcoders] FLEX 1.5 || dataGrid CellRenderer + v... Matti Bar-Zeev

