-
13 May 2009 7:42 AM #1
gridPanel Sort
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

-
13 May 2009 7:43 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
In the store config specify:
Code:sortInfo: {field: 'myField', direction: 'ASC'}
-
13 May 2009 7:54 AM #3


Reply With Quote