Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by uvaraj24 on Aug 18, 2008 00:39
open dhtmlx forum
How to reload xml data?

Dear support team,

I am using drag-n-drop functionality, while dragging and dropping the grid data i am updating the order in the database as well as updating the XML file. once i refresh the page i can get the re-arranged data.

But here i don't want to refresh the page, but still i need to get the modified data from latest XML file.

please can any one help me

Thanks In Advance
uvaraj24
Answer posted by Support on Aug 18, 2008 02:00
If you need update only data ( not order )
   grid.updateFromXML(url_here);


If you reload data part of grid
   grid.clearAll()
   grid.loadXML(url);