[flexcoders] Datagrid Cell Edit Event update grid

2008-05-05 Thread securenetfreedom
When typing in a datagrid cell, I am capturing the datagrid's change
event and then making calculations on other cells in that row. 

I've used both invalidateList and invalidateDisplayList after I make
my calcs but it doesn't seem to update the text in the grid until I've
tabbed out of that cell and tabbed out of a second cell. 

I would really like to do the calcs and see them update in the grid as
I'm typing. 

Is there a better approach to for this?

Thanks,

Jeff



RE: [flexcoders] Datagrid Cell Edit Event update grid

2008-05-05 Thread Tracy Spratt
If your dataProvider is a Collection, you can call
collection.itemUpdated(...)

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of securenetfreedom
Sent: Monday, May 05, 2008 1:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Datagrid  Cell Edit Event  update grid

 

When typing in a datagrid cell, I am capturing the datagrid's change
event and then making calculations on other cells in that row. 

I've used both invalidateList and invalidateDisplayList after I make
my calcs but it doesn't seem to update the text in the grid until I've
tabbed out of that cell and tabbed out of a second cell. 

I would really like to do the calcs and see them update in the grid as
I'm typing. 

Is there a better approach to for this?

Thanks,

Jeff