1. #11
    Sencha - Services Team
    Join Date
    Mar 2007
    Location
    Foristell, MO
    Posts
    1,100
    Vote Rating
    3
    jratcliff is on a distinguished road

      0  

    Default


    Quote Originally Posted by jsakalos View Post
    This was related to 2.0 beta. Is the problem apparent also in 2.2?
    Yes, if you go to the latest examples at "/deploy/dev/examples/" and run the grouping example the same behavior happens as well.

    http://extjs.com/deploy/dev/examples/grid/grouping.html

    From this grouping example it starts with the grouping done on the industry column and sorted in ascending order. If you click on the industry column twice to sort the group in descending order you will see that "Services" is now the the first group listed. Now, if you click on the company column to sort it, the industry group is resorted as well. The behavior I want is for the group to "stick" and not resort while the other columns resort when clicked.

    Thanks for looking into this!

  2. #12
    Sencha - Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    26,168
    Vote Rating
    82
    jsakalos is a splendid one to behold jsakalos is a splendid one to behold jsakalos is a splendid one to behold jsakalos is a splendid one to behold jsakalos is a splendid one to behold jsakalos is a splendid one to behold jsakalos is a splendid one to behold

      0  

    Default


    Yes, I see what you mean. However, I'm afraid that the behavior is not configurable currently and that what is sorted in fact are underlying records with no regard to grouping. You may want to post it as a feature request.

  3. #13
    Sencha - Services Team
    Join Date
    Mar 2007
    Location
    Foristell, MO
    Posts
    1,100
    Vote Rating
    3
    jratcliff is on a distinguished road

      0  

    Default


    Quote Originally Posted by jsakalos View Post
    Yes, I see what you mean. However, I'm afraid that the behavior is not configurable currently and that what is sorted in fact are underlying records with no regard to grouping. You may want to post it as a feature request.
    ok, thanks!

  4. #14
    Ext User
    Join Date
    Dec 2008
    Location
    Chandigarh,India
    Posts
    2
    Vote Rating
    0
    Ajit Kumar Subudhi is on a distinguished road

      0  

    Question Grouping in Grid without sortinfo ....

    Grouping in Grid without sortinfo ....


    Hi,

    I am facing a problem.I want to grouping in grid but I don't want to put any "sortInfo", while grouping.

    :
    ==========================================================
    var store = new Ext.data.GroupingStore({
    reader: reader,
    //sortInfo:{field: 'Name', direction: "asc"},
    groupField:'ID',
    proxy : new Ext.data.HttpProxy({
    url: 'Test.ashx',
    method: 'GET'
    })
    });
    store.load();

    =============================================================

    Is it possible ?

    Please reply.

    Thanks in advance
    Ajit

  5. #15
    Sencha - Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    26,168
    Vote Rating
    82
    jsakalos is a splendid one to behold jsakalos is a splendid one to behold jsakalos is a splendid one to behold jsakalos is a splendid one to behold jsakalos is a splendid one to behold jsakalos is a splendid one to behold jsakalos is a splendid one to behold

      0  

    Default


    Have you tried to remove sortInfo and has it produced some errors?

    I think that if you sort on groupField it doesn't matter anyway, does it?

  6. #16
    Ext User
    Join Date
    Dec 2008
    Location
    Chandigarh,India
    Posts
    2
    Vote Rating
    0
    Ajit Kumar Subudhi is on a distinguished road

      0  

    Smile Grouping in Grid without sortinfo ....

    Grouping in Grid without sortinfo ....


    Thanks for your reply. Its working now. thr might be some other issue.