Hehe, naw, because then Flex people think you're a
g00b if you talk about Flash.
You say "next frame", and you're considered to be a
14 year-old who likes punk rock.
You say "invalidate", and you're considered to a
Fortune 500 developer.
----- Original Message -----
From: Tracy Spratt
Sent: Friday, December 30, 2005 1:39 PM
Subject: RE: [flexcoders] CheckCellRenderer Ah, cool. So all
that Flash frame stuff might actually be good to know
about! From:
Naw, it actually calls invalidate
each time, so it's only updated once per frame, whether you call it 1, or 1000
times. That's the beauty of DataProvider
API! However, the manual dispatch isn't
so bad because for thousands of records,
this: my_array[i].cow =
"foo"; + dispatch
modelChanged() is faster than editField on
thousands of records. Don't have benchmarks,
though. ----- Original Message -----
From: Tracy Spratt
Sent: Friday,
December 30, 2005 1:24 PM Subject: RE:
[flexcoders] CheckCellRenderer The difference is that
edit field will update the UI immediately every time you call it. This is
fine with small data sets. If you update many items, then there might be a
performance issue with so many ui refreshes. Also, you might be able
manually dispatch the modelChanged event instead of re-assigning the
dataProvider, but I have not tried this. From:
Hi Tracy,
JesterXL, Thanks for both replies
and suggestions. Both worked great, although I think Ill stick to the
last suggestion (editField) as It would take more
comments then code to explain why I am reassigning the data provider to the grid
that its already assigned to J Regards, Rob From:
Example: -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS
|
- Re: [flexcoders] CheckCellRenderer JesterXL
- RE: [flexcoders] CheckCellRenderer Tracy Spratt
- Re: [flexcoders] CheckCellRenderer JesterXL