updateFromXML to append rows

Hi,



Need to know how can I append rows using updateFromXML.



Ex: load 50 rows from one XML file, and then onclick of a button load 50 more rows from another XML file… (XML structure is same)

You can use: mygrid.updateFromXML(“grid_updated.xml”,true);
updateFromXML(url, insert_new, del_missed, afterCall) method has parameters:
url - url to the file
insert_new - insert new items (optional, true by default)
del_missed - delete missed rows (optional, false by default)
afterCall - function, will be executed after refresh completted

Note: this functionality doesn’t work for buffering, tree grid, or rows in smart rendering mode.