By default the DG does write data back to dataprovider.
- Is there a way that the edited data is reflected back in the XML object?
Yes, if you are using the native XML that is coming back from the HTTPService call and binding it directly to the DataGrid, when you modify the data inline with an ItemEditor it will automatically save it back into the data provider which means the XML object will be updated.
- or, Is there a way i can scan the datagrid row by row and read its data?
Yes, you could, but it's not entirely necessary. You would be looping over the datagrid.dataProvider[i]
- or any other suggestions when working in this kind of scenario?
I would just suggest on whatever event you want, shoot the dataGrid.dataProvider as a parameter back to another HTTPService. Should work no problem.
I hope this helps!
J. Phillip Camp
Feel free to set the question as answered or helpful so people like myself scanning to help people out know that the question has already been answered.
Best, J. Phillip Camp