Forum /
Ext GWT Community Forums (2.x) /
Ext GWT: User Extensions and Plugins /
Ext User
After Refresh Grid comes on first page.
After Refresh Grid comes on first page.
Hi,
We have paging grid and in that we have refresh functionality.
But after Refresh Grid comes on first page not on current page.
please suggest any way for after refresh is should come on same page.
rupesh
Did you use a manual refresh (by code) or did you use the PagingToolbar refresh ?
Ext User
I am using manual refresh.
If you are manually refresh the PagingGrid then please make sure you have pass the state paramenter Offset, limit to server side if you did not pass the offset parameter then the server program do not know go which page.
Ext User
You can destroy the current grid and refresh it again
store.on('load', function()
{
if(Ext.getCmp("grid")) {
Ext.getCmp("grid").destroy();
}
}
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us