Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by rezachary on Dec 14, 2007 19:46
open dhtmlx forum
Delete & Add row does not physically delete/add row

Hi,

I am trying to evaluate the dhtmlxgrid but sample demos delete/add, but does not physically update the xml source file....

How does dhtmlxgrid perform physical purge and add in the xml file?

Thanks
Answer posted by Support on Dec 17, 2007 02:51
Component is fully client side, so it can't update XML file on its own, you will need any kind of server side script for data updating.
There are few ways to get modification, the most simple is data serialization
    var xml=grid.serialize();
It returns current state of grid as XML string, now it need to be send back to server ( by any possible way ) and stored back to file.