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:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user