Re: [flexcoders] please help in refreshing datagrid

2008-01-29 Thread Sherif Abdou
make sure u have a bindable getter/setter dispatch in setter, and update in getter override public function set data(value:Object): void { // drag and drop can call this with a 'string' value (i.e. no xml element tags) so that is odd _data = value; dispatchEvent(new Event(dataChange)); }

Re: [flexcoders] please help in refreshing datagrid

2008-01-29 Thread Ganesh Suyampirakasam
Sorry no Idea I am also trying that On 1/29/08, rahultnath [EMAIL PROTECTED] wrote: 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

RE: [flexcoders] please help in refreshing datagrid

2008-01-29 Thread Alex Harui
To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] please help in refreshing datagrid Sorry no Idea I am also trying that On 1/29/08, rahultnath [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi i am trying to add delete some user details to database.And i did that also.But

RE: [flexcoders] please help in refreshing datagrid

2008-01-29 Thread Tracy Spratt
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

RE: [flexcoders] please help in refreshing datagrid

2008-01-29 Thread Tracy Spratt
Sorry, like Alex says call itemUpdated(). Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, January 29, 2008 4:18 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] please help in refreshing

Re: [flexcoders] please help in refreshing datagrid

2008-01-29 Thread Sherif Abdou
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