-
1 Mar 2010 2:24 AM #91
Thanks a lot Condor, for your reply!!!
On the success event in the submit, I changed some things:
Now, the grid and the pagingToolbar run correctlyCode://instead of create a new object. result.loadData(Ext.util.JSON.decode(request.response.responseText)); paging.bindStore(busquedaGrid.getStore()); busquedaGrid.footer = paging; busquedaGrid.render(); busquedaGrid.getView().refresh();

-
9 Mar 2010 5:30 PM #92
Hi,
I changed this
to this:Code:stores[t] = new Ext.data.JsonStore({ url: 'creategrid5.php?action=listing&type='+ t, //storeId: 'wstore', root: 'rows', listeners: { metachange: function(store, meta) { var g = grids[t]; var cm = g.getColumnModel(); cm.setConfig(meta.colModel); g.reconfigure(store, cm); } } });
And now my grid does not show anything.Code:stores[t] = new Ext.ux.data.PagingArrayStore({ url: 'creategrid5.php?action=listing&type='+ t, //storeId: 'wstore', autoLoad: {params: {start: 0, limit: 10}}, reader: new Ext.data.JsonReader(), listeners: { metachange: function(store, meta) { var g = grids[t]; var cm = g.getColumnModel(); cm.setConfig(meta.colModel); g.reconfigure(store, cm); } } });
Any idea what went wrong?
I am using metadata to populate the grid.
Thanks!
----------------------------- Edit----------------------------------
Nvm, ignore my stupidity.
Did it with Ext.ux.data.PagingJsonStore.
Thanks!!!!
-
25 Mar 2010 2:53 AM #93
In ext 3.1 final should be something like this ...
gr8 job anyway, you have saved my dayCode:Ext.override(Ext.PagingToolbar, { doRefresh: function(){ delete this.store.lastParams; this.doLoad(this.cursor); } });
-
1 Apr 2010 9:24 AM #94
Just upgraded to Ext 3.2.0, and noticed that sort is broken as multi-sort was introduced in 3.2.0. My quick and dirty fix is to change the signature of the method to not accept any arguments, and set the required arguments as follows:
Obviously the code won't work with multi-sort, but works well enough for my own use.Code:sortData: function() { var direction = this.sortInfo.direction || "ASC" f = this.sortInfo.field;
-
7 Apr 2010 5:31 AM #95
Same problem for me. Updated to 3.2 and the PagingToolbar sort doesn't work anymore. Would be nice, if it could be fixed

-
15 Apr 2010 9:07 AM #96
I'm having the same issue with sorting and 3.2.
any plans for an update?
Thanks!
-
22 Apr 2010 8:01 AM #97
Fabulous ux, as always, good work Condor.
Ext (4.0) Docs: http://docs.sencha.com/ext-js/4-0/
-
3 May 2010 12:07 PM #98
Possible 3.2.x update
Possible 3.2.x update
You could also try this, which uses the base Ext.data.Store code after taking care of PagingStore-specific additions:
Code:sortData: function { if (this.allData) { this.data = this.allData; delete this.allData; } Ext.data.Store.prototype.sortData.call(this); this.applyPaging(); }
-
5 May 2010 3:53 AM #99
Great Stuff Condor!
Can the paging store be used with the grouping store?
-
5 May 2010 10:51 PM #100Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
You would need a PagingGroupingStore (code somewhere in this thread).
However, it's use is limited, because it can span groups over multiple pages.


Reply With Quote