Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Wahed on Aug 11, 2008 02:49
open dhtmlx forum
How to map xml to a form

I need to map the xml which is to be loaded in the grid to the form attribute of struts,so that i can get the changed values from the grid.
Or how to use submitOnlySelected or submitOnlyChanged functions so that i can get the only updated row in the xml
Answer posted by Support on Aug 11, 2008 06:33

If you need to get data as XML you need to use grid.serialize() , the both  submitOnlySelected or submitOnlyChanged related to form integration and will generate hidden form inputs for each updated cell in grid. 

To get xml of changed rows only, next command can be used

grid.setSerializationLevel(false,false,false,false,true);
var xml = grid.serialize();