issue 216 : overriding the pagingtoolbars refresh button to work with local caching store

git-svn-id: https://beef.googlecode.com/svn/trunk@639 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
xntrik
2010-12-27 07:12:51 +00:00
parent 5ebd007de8
commit 09f400fbb2

View File

@@ -79,3 +79,11 @@ DataGrid = function(url, page, base) {
};
Ext.extend(DataGrid, Ext.grid.GridPanel, {});
//Because we're using paging stores now, we have to override the PagingToolbar refresh
Ext.override(Ext.PagingToolbar, {
doRefresh: function() {
delete this.store.lastParams;
this.doLoad(this.cursor);
}
});