1. #1
    Sencha User
    Join Date
    Jun 2011
    Location
    Bangalore, India
    Posts
    175
    Answers
    4
    Vote Rating
    2
    renganathan is on a distinguished road

      0  

    Default Unanswered: Extjs 4 grouping grid - sorting issue

    Unanswered: Extjs 4 grouping grid - sorting issue


    Hi All,

    I am using Ext JS 4.1.1 version.

    I have enabled the grouping feature in the data grid.

    I am using remote sort in store.

    Here issue is sorting not working properly when grouping feature is enabled but it is working fine when grouping is disabled.


    Please refer the below image,

    Sorting Ascending:

    sorting1.png

    Sorting Descending
    sorting2.png


    Note: This issue exits only when if i do filter for some of the column otherwise its works fine.


    Please help me to fix this issue
    Thanks,

    RENGANATHAN M G

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Answers
    371
    Vote Rating
    179
    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 slemmon is a splendid one to behold

      0  

    Default


    I believe this may be fixed in 4.2.1, which is in Beta now. Can you test your code (or at least a snippet to prove out the issue) in 4.2.1 Beta to see if it fixes the issue you're seeing?

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Location
    Bangalore, India
    Posts
    175
    Answers
    4
    Vote Rating
    2
    renganathan is on a distinguished road

      0  

    Default


    Hi ,

    I have tried this version .Still this issue exists.

    Is there any workaround available?
    Thanks,

    RENGANATHAN M G

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Location
    Bangalore, India
    Posts
    175
    Answers
    4
    Vote Rating
    2
    renganathan is on a distinguished road

      0  

    Default


    Do you have any update on this issue ?




    Quote Originally Posted by slemmon View Post
    I believe this may be fixed in 4.2.1, which is in Beta now. Can you test your code (or at least a snippet to prove out the issue) in 4.2.1 Beta to see if it fixes the issue you're seeing?
    Thanks,

    RENGANATHAN M G

  5. #5
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Answers
    371
    Vote Rating
    179
    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 slemmon is a splendid one to behold

      0  

    Default


    The below test case works for me in 4.2.1 when grouping by department and sorting by seniority. If the test case doesn't match your use case feel free to post a separate test case demonstrating the issue you're seeing and I'll test it.

    Code:
    var store = Ext.create('Ext.data.Store', {
        storeId:'employeeStore',
        fields:['name', 'seniority', 'department'],
        groupField: 'department',
        data: {'employees':[
            { "name": "Michael Scott",  "seniority": 'Yes', "department": "Management" },
            { "name": "Dwight Schrute", "seniority": 'Yes', "department": "Sales" },
            { "name": "Jim Halpert",    "seniority": 'No', "department": "Sales" },
            { "name": "Kevin Malone",   "seniority": 'Yes', "department": "Accounting" },
            { "name": "Angela Martin",  "seniority": 'No', "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'}],
        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/

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi