Results 1 to 3 of 3

Thread: gridPanel Sort

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    110
    Vote Rating
    0
      0  

    Default gridPanel Sort

    Hi

    Just a quickie. Does anyone know if its possible and how to specify which column should be sorted on by default (i.e when the data is first loaded) and whether is should be asc/desc. I cant find this in any documentation anywhere but i know its out there somewhere.

    Cheers


  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    118
      0  

    Default

    In the store config specify:
    Code:
    sortInfo: {field: 'myField', direction: 'ASC'}

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    110
    Vote Rating
    0
      0  

    Default

    Good work! Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •