Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Apr 2013
    Location
    Hyderabad
    Posts
    18
    Vote Rating
    1
    abhi.srinu is on a distinguished road

      0  

    Default Grid grouping startCollapsed in neptune theme

    Grid grouping startCollapsed in neptune theme


    Hi,

    I have a grid with grouping and startCollapsed enabled.

    It works in the normal classic theme but does not work in the neptune theme.

    Could be a possible bug?

    PFA the screenshots.
    Attached Images
    --
    Abhi

  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


    The below test code worked ok for me in Classic and Neptune in 4.2.0 and 4.2.1. Can you see if it works for you? Or can you provide a different test case that demonstrates the issue you're seeing?

    Code:
    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'
            }
        }
    });
    
    
    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',
            startCollapsed: true
        }],
        width: 200,
        height: 275,
        renderTo: Ext.getBody()
    });
    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
    Apr 2013
    Location
    Hyderabad
    Posts
    18
    Vote Rating
    1
    abhi.srinu is on a distinguished road

      0  

    Default


    It was my bad.

    The one i was using for neptune theme was using 4.2.0 where as the one using classic theme was in 4.2.1.

    So the problem is it that it is not working for 4.2.0

    I changed it 4.2.1 and startCollapsed is working.

    You can close this ticket.
    --
    Abhi

Thread Participants: 1

Tags for this Thread

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