Results 1 to 9 of 9

Thread: Grid grouping is sorting automatically in 4.1

  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    65
    Answers
    6
    Vote Rating
    0
      0  

    Default 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

    Code:
    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'}
                ]
            });
        }
    });
    4.0.7 order is math, english, all
    407.jpg

    4.1.0 order is all, english, math
    410.jpg

  2. THis has ben fixed now.

    If a store is configured with

    Code:
    remoteGroup: true
    Then sorting is not performed locally. It is left to the server to do that whenever the store is loaded from the server.

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,405
    Answers
    716
    Vote Rating
    500
      0  

    Default

    This is under review: EXTJSIV-6063

    Regards,
    Scott.

  4. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Redwood City
    Posts
    30,623
    Answers
    15
    Vote Rating
    56
      0  

    Default

    THis has ben fixed now.

    If a store is configured with

    Code:
    remoteGroup: true
    Then sorting is not performed locally. It is left to the server to do that whenever the store is loaded from the server.
    Longtime Sencha geek. Outspoken advocate of pure Javascript Views. Posts my own opinions.

  5. #4
    Sencha User
    Join Date
    Feb 2011
    Posts
    65
    Answers
    6
    Vote Rating
    0
      0  

    Default

    Thanks!

    Is this something that will be included in an update that will be released soon?

    Jim

  6. #5
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,405
    Answers
    716
    Vote Rating
    500
      0  

    Default

    Nightly builds will contain it soon. There is no release date for 4.1.1 at this time.

    Scott.

  7. #6
    Sencha User
    Join Date
    Feb 2011
    Posts
    65
    Answers
    6
    Vote Rating
    0
      0  

    Default

    Thanks. How do I get access to the nightly builds?

  8. #7
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,405
    Answers
    716
    Vote Rating
    500
      0  

    Default

    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.

  9. #8
    Sencha User
    Join Date
    Feb 2011
    Posts
    65
    Answers
    6
    Vote Rating
    0
      0  

    Default

    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

  10. #9
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,405
    Answers
    716
    Vote Rating
    500
      0  

    Default

    Yes it does. You will get access to the support portal and there is a link provided for nightly builds.

    Scott.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •