-
30 Apr 2012 10:05 AM #1
Answered: Grid grouping is sorting automatically in 4.1
Answered: Grid grouping is sorting automatically in 4.1
I have a grid w/ grouping. In 4.0.7, the groups were not sorted. In 4.1.0, they are being sorted. How do I disable sorting the groups. I tried setting isSortable: false in the store, but that didn't affect the grouping.
Thanks,
Jim
4.0.7 order is math, english, allCode:Ext.define('Ext.simponspanel', { alias: 'widget.simpsonspanel', extend: 'Ext.grid.Panel', //store: Ext.data.StoreManager.lookup('simpsonsStore'), columns: [ { header: 'Name', dataIndex: 'name', flex: 1}, { dataIndex: 'title', hidden: true} ], height: 200, width: 400, initComponent: function(config){ this.features = Ext.create('Ext.grid.feature.GroupingSummary', { groupHeaderTpl: '{name}' }); this.store = new Ext.data.JsonStore({ fields: [{name: 'name'},{name: 'title'}], isSortable: false, groupField: 'title' }); this.store.add({title: 'math', name: 'D'}, {title: 'english', name: 'C'}, {title: 'english', name: 'B'}, {title: 'all', name: 'A'}); this.callParent(); } }); Ext.application({ name: 'HelloExt', launch: function() { Ext.create('Ext.container.Viewport', { layout: 'fit', items: [ { xtype: 'simpsonspanel'} ] }); } });
407.jpg
4.1.0 order is all, english, math
410.jpg
-
Best Answer Posted by Animal
THis has ben fixed now.
If a store is configured with
Then sorting is not performed locally. It is left to the server to do that whenever the store is loaded from the server.Code:remoteGroup: true
-
30 Apr 2012 11:17 AM #2Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,185
- Vote Rating
- 194
- Answers
- 433
This is under review: EXTJSIV-6063
Regards,
Scott.
-
30 Apr 2012 12:02 PM #3Sencha - Ext JS Dev Team
- Join Date
- Mar 2007
- Location
- Notts/Redwood City
- Posts
- 30,458
- Vote Rating
- 20
- Answers
- 9
THis has ben fixed now.
If a store is configured with
Then sorting is not performed locally. It is left to the server to do that whenever the store is loaded from the server.Code:remoteGroup: true
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
30 Apr 2012 12:36 PM #4
Thanks!
Is this something that will be included in an update that will be released soon?
Jim
-
30 Apr 2012 1:17 PM #5Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,185
- Vote Rating
- 194
- Answers
- 433
Nightly builds will contain it soon. There is no release date for 4.1.1 at this time.
Scott.
-
30 Apr 2012 1:35 PM #6
Thanks. How do I get access to the nightly builds?
-
30 Apr 2012 2:08 PM #7Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,185
- Vote Rating
- 194
- Answers
- 433
This is available to licensed users:
http://www.sencha.com/store/extjs/
If you are a licensed users, you can login to support download builds from there.
Regards,
Scott.
-
4 May 2012 6:29 AM #8
So does the "Ext JS Standard Support" license provide me access to nightly builds?
I didn't see this info on
http://www.sencha.com/store/extjs/ or
http://www.sencha.com/store/licensing-faq
Thanks,
Jim
-
4 May 2012 6:51 AM #9Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,185
- Vote Rating
- 194
- Answers
- 433
Yes it does. You will get access to the support portal and there is a link provided for nightly builds.
Scott.


Reply With Quote