Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kaushal on Apr 13, 2008 15:04
open dhtmlx forum
Sending XML Message back to Server

Hi ,

Is this possible to send grid data in single shot to the server using some xml or some other way.
Answer posted by Support on Apr 14, 2008 03:47
You can serialize grid as XML
    var xml = grid.serialize();

You can use any method to send serialization results back to server, including built in AJAX functionality, the code line above will send xml data by POST

    (new dtmlXMLLoaderObject(null,null,true)).loadXML("some.url",true,"grid="+encodeURIComponent(xml));