refreshes grid from XML (doesn't work for buffering, tree grid or rows in smart rendering mode)
url | string | url of the file |
insert_new | boolean | insert new items (optional, true by default) |
del_missed | boolean | delete missed rows (optional, false by default) |
afterCall | function | the function that will be executed after refresh is completted |
//update grid from xml
mygrid.updateFromXML("grid_updated.xml");
//update grid from xml, insert new items, delete missed rows,
//execute the doAfterUpdate() function after rows have been updated
mygrid.updateFromXML("grid_updated.xml",true,true,doAfterUpdate);
Back to top