just wondering would the invalidateList(); work too?
----- Original Message ---- From: Tracy Spratt <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 3:31:59 PM Subject: RE: [flexcoders] please help in refreshing datagrid Sorry, like Alex says call itemUpdated( ). Tracy From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf Of Tracy Spratt Sent: Tuesday, January 29, 2008 4:18 PM To: [EMAIL PROTECTED] ups.com Subject: RE: [flexcoders] please help in refreshing datagrid 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] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf Of rahultnath Sent: Tuesday, January 29, 2008 8:45 AM To: [EMAIL PROTECTED] ups.com 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 ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs