Hi all..!
I am in the process of changing a web application from ExtJS 1.1 to ExtJS 4.0.
Can anyone please tell me how to reload the grid in case of ExtJS 4.0.?
The ExtJS 1.1 equivalent is shown below:
var reloadGrid = function(){
grid.getDataSource().rejectChanges();
grid.getDataSource().reload({params:{start: 0, limit: paging.pageSize}});
tabs.activate('view');
tabs.disableTab('edit');
};
Any other comments on the code are also welcome.
Thank you in advance!