1. #1
    Sencha User
    Join Date
    Oct 2009
    Posts
    66
    Vote Rating
    0
    v.madhu is on a distinguished road

      0  

    Default ExtJS header sorting sorts the Store records

    ExtJS header sorting sorts the Store records


    Hello,

    I am having the store loaded with 10 rows in some order and maintaining the same rows in the server. When i click the header of the row, it sorts. But the store also sorts according to that. I was expecting only the view of the grid to be sorted and the Records in the Store remains same order. But this is not happening.

    Is there any option to do the above?

    Thanks in advance for the reply.

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,507
    Vote Rating
    56
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    That is correct. The Store is the Model, the grid is only the Controller (with the GridView class being the View part of the whole)

Thread Participants: 1