This duplicates another forum thread, you can visit that thread here.
  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    2
    Vote Rating
    0
    mgunnerud is on a distinguished road

      0  

    Default Cannot collapse grid groups after grid is reconfigured with new store

    Cannot collapse grid groups after grid is reconfigured with new store


    REQUIRED INFORMATION




    Ext version tested:
    • Ext 4.2.1
    Browser versions tested against:
    • IE10
    • Chrome 28
    DOCTYPE tested against:
    • N/A
    Description:
    • In a grid with the grouping feature (ftype: 'grouping') in Ext 4.2.1, it is no longer possible to collapse grid groups after the grid has been reconfigured with a new store, even if the new store is identical to the old store.
    Steps to reproduce the problem:
    • Run the test case in Ext 4.2.1, click the collapse icon of any group.
    The result that was expected:
    • Group is collapsed
    The result that occurs instead:
    • Nothing happens
    Test Case:




    Code:
    Ext.require('*');
    
    
    Ext.onReady(function() {
        var store2 = Ext.create('Ext.data.Store', {
            storeId: 'employeeStore2',
            fields: ['name', 'seniority', 'department'],
            groupField: 'department',
            data: {
                'employees': [{
                    "name": "Michael Scott",
                    "seniority": 7,
                    "department": "Management"
                }, {
                    "name": "Dwight Schrute",
                    "seniority": 2,
                    "department": "Sales"
                }, {
                    "name": "Jim Halpert",
                    "seniority": 3,
                    "department": "Sales"
                }, {
                    "name": "Kevin Malone",
                    "seniority": 4,
                    "department": "Accounting"
                }, {
                    "name": "Angela Martin",
                    "seniority": 5,
                    "department": "Accounting"
                }]
            },
            proxy: {
                type: 'memory',
                reader: {
                    type: 'json',
                    root: 'employees'
                }
            }
        });
    
    
        var store = Ext.create('Ext.data.Store', {
            storeId: 'employeeStore',
            fields: ['name', 'seniority', 'department'],
            groupField: 'department',
            data: {
                'employees': [{
                    "name": "Michael Scott",
                    "seniority": 7,
                    "department": "Management"
                }, {
                    "name": "Dwight Schrute",
                    "seniority": 2,
                    "department": "Sales"
                }, {
                    "name": "Jim Halpert",
                    "seniority": 3,
                    "department": "Sales"
                }, {
                    "name": "Kevin Malone",
                    "seniority": 4,
                    "department": "Accounting"
                }, {
                    "name": "Angela Martin",
                    "seniority": 5,
                    "department": "Accounting"
                }]
            },
            proxy: {
                type: 'memory',
                reader: {
                    type: 'json',
                    root: 'employees'
                }
            }
        });
    
    
        var grid = Ext.create('Ext.grid.Panel', {
            title: 'Employees',
            store: Ext.data.StoreManager.lookup('employeeStore'),
            columns: [{
                text: 'Name',
                dataIndex: 'name'
            }, {
                text: 'Seniority',
                dataIndex: 'seniority'
            }],
            features: [{
                ftype: 'grouping'
            }],
            width: 200,
            height: 275,
            renderTo: Ext.getBody()
        });
        grid.reconfigure(store2);
    });
    Run the code in Ext 4.1.1, and it is possible to collapse the groups. Run the code in Ext 4.2.1, and it is not possible to collapse groups.




    HELPFUL INFORMATION




    See this URL for live test case: https://fiddle.sencha.com/#fiddle/28
    Remember to change version to Ext 4.2.1.




    Debugging already done:
    • none
    Possible fix:
    • not provided
    Additional CSS used:
    • only default ext-all.css
    Operating System:
    • Windows 7

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,770
    Vote Rating
    165
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    Thanks for the report!
    While at first glance it may not appear to be related this issue is related to the report here:
    http://www.sencha.com/forum/showthread.php?264947
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

    C
    heck out all of the 2013 SenchaCon presentations here:
    http://www.sencha.com/blog/senchacon...now-available/

  3. #3
    Sencha User
    Join Date
    Sep 2013
    Posts
    2
    Vote Rating
    0
    ecorrea is on a distinguished road

      0  

    Default


    is there any update on this?

    BR
    Esteban

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar