Hi Condor,
Many thanks for the Ext! This is exactly what i needed after struggling with huge xml file.
Here it's in action:
http://dev.sk-typo3.de/cetest/svn-log.html
Hi Condor,
Many thanks for the Ext! This is exactly what i needed after struggling with huge xml file.
Here it's in action:
http://dev.sk-typo3.de/cetest/svn-log.html
You missed out the change fromtoCode:onRefreshClickExt.PagingToolbar doesnt have a onRefreshClick function.Code:refresh
I also found another bug,
should beCode:destroy: function() { if (this.storeId) { Ext.PagingStoreMgr.unregister(this); } this.data = this.allData = this.snapshot = null; Ext.destroy(this.proxy); this.reader = this.writer = null; this.purgeListeners(); },
Code:destroy: function() { if (this.storeId) { Ext.StoreMgr.unregister(this); } this.data = this.allData = this.snapshot = null; Ext.destroy(this.proxy); this.reader = this.writer = null; this.purgeListeners(); },
Hi:
Are there any plans to make a grouping compatible version of this?
Or, any pointers on how you might go about providing client-side paging with/grouping?
Thanks,
Lee Wexler
Just saw your comment in the 2.0 thread, re: grouping. I will try it.
Sorry for the noise, and thanks for this!
The Grouping Store variant worked for me as well with Ext-JS 3.0 PagingStore.
Thanks!Code:Ext.ux.data.PagingGroupingStore = Ext.extend(Ext.ux.data.PagingStore, { remoteGroup: Ext.data.GroupingStore.prototype.remoteGroup, groupOnSort: Ext.data.GroupingStore.prototype.groupOnSort, clearGrouping: Ext.data.GroupingStore.prototype.clearGrouping, groupBy: Ext.data.GroupingStore.prototype.groupBy, applySort: Ext.data.GroupingStore.prototype.applySort, applyGrouping: Ext.data.GroupingStore.prototype.applyGrouping, getGroupState: Ext.data.GroupingStore.prototype.getGroupState });
This is great add-on.
Thanx!!!
I am using the newest PagingStore v0.4 and gridFilter 0.2.8. I have problems on the paging toolbar.
Two problems I've noted:
1. Page count always keeps the same as well as total records count on the paging toolbar.
2. Store shows current empty page instead of navigating to 1st page (if I filter 1 record for example)
Should I fire some event? where do I fire?
thanks
let's say I have 3 total pages. Currently, I am in page 2.
I click the refresh button which I override
Ext.override(Ext.PagingToolbar, {
// private
refresh: function(){
this.store.loadData(newObj);
}
});
the grid reloads and show the correct records of the second page since i di not change the lastoptions.start and limit. However, the paging toolbar shows I am in page 1.
I must miss something between the page store and page toolbar. Can some one please help me. thx
loadData will fire a load event without start and limit parameters, making the PagingToolbar think it is on the first page.
Instead of loadData try:
Code:var r = store.reader.readRecords(data); store.loadRecords(r, Ext.apply({}, store.lastOptions), true);