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"));
}
[Bindable(event="dataChange")] 
override public function get data(): Object {
return _data;
}



----- Original Message ----
From: rahultnath <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 29, 2008 7:45:01 AM
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





      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to