Thanks for taking the time to respond,
I have been debugging it, but any other debugging suggestions would be
welcomed.
While debugging, I put a breakpoint at my data provider variable, and
the break point is tripped whenever new data is loaded, the datagrid
is instaciated etc...; however, the breakpoint is not tripped when
that phenomenon of the datagrid 'refreshing' as in the video. So
it's not accessing the data provider.
Do you mind suggesingt some other events / variables I should watch
while debugging.
How can I see what events are being dispatched when I am interacting
with other UI objects - can someone suggest a good in depth reference
I can read up on debugging with Eclipse.
Thanks
On Aug 22, 2008, at 1:24 PM, Alex Harui wrote:
You will have to debug your situation. There’s no way to tell from
a video what events are firing. If the dataProvider or any of a
number of properties change, the DG will update all the rows. The
real question is whether you’ve handled recycling correctly or if
there is some other problem.
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Alan
Sent: Friday, August 22, 2008 9:42 AM
To: [email protected]
Subject: [flexcoders] [video included] Datagrid recycle issue? How
can I 'force' it to re-render
Link to video:
http://www.alanklement.com/download/datagrid.mov
I understand that the datagrid is recycling cells, makes sense. I've
checked out Alex's blog, but can't find a solution to this situation.
Oddly enough, you can see that the datagrid refreshes correctly when I
interact with display objects other than the grid itself.
What events are being fired by the other display objects that are
causing the grid to 'refresh'.
Thanks for your time:
Alan