If you use the dataProvider API to make the update, the dataGrid will
automatically reflect the changes.  If you simply assign item property
values then it will not.  In this case, if your dataProvider is a
Collection, you can call the refresh() method.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of rahultnath
Sent: Tuesday, January 29, 2008 8:45 AM
To: [email protected]
Subject: [flexcoders] please help in refreshing datagrid

 

Hi 
i am trying to add & delete some user details to database.And i did 
that also.But problem is even after data deleted or added to 
database,the datagrid does not show the updated data.Else it has to be 
restarted.(ie the mxml need to be run again to get it refresh)Can u 
suggest How to refresh it immediately when data deleted or added..

Thanks in advance
Rahul

 

Reply via email to