If pagination on grid is on bottom toolbar then use the following code
Ext.getCmp('gridId').getStore().removeAll();
If pagination on grid is on top toolbar then use the following code
Ext.getCmp('
gridId
').getBottomToolbar().updateInfo();
Ext.getCmp('gridId').getStore().removeAll();
Ext.getCmp('
gridId
').getTopToolbar().updateInfo();
No comments:
Post a Comment