In what circumstances, should I use grid.load VS grid.updateFromXML ?
At the moment, I use grid.load() on page load to populate data in grid. I use grid.updateFromXML with data processor (i.e. grid.updateFromXML after insert/update/delete on-the-fly with the grid).
Thanks.
Michael
updateFromXML can be used when you need to alter data in grid, without changing grid’s current state. ( sorting, filtering, etc. )
also, updateFromXML can be used to update a single or few rows only, without affecting other dataset.
For normal data loading, grid.load is the recommended way.