How to update automatically data from datagrid in flex2?
Here is the problem:
I have datagrid binded with data acquired from web service which, as you may suspe开发者_如何学编程ct, retrieves data from some db. Datagrid has some editable columns and I want to update db through appropriate web service call without adding button "Update" as a last column in datagrid.
How can I do this? Is there any event which I should listen?
Thanks in advance, D
Look into the itemEditor events. I would probably add a listener to itemEditEnd to update your database via some remote service.
http://livedocs.adobe.com/flex/3/langref/mx/controls/DataGrid.html#event:itemEditEnd
精彩评论