PDA

View Full Version : How to control the default sort direction when clicking grid header column



harel
27 Sep 2010, 4:12 PM
Is there a way to control the default sorting order used when first clicking a grid header? At the moment if I click a grid header the column will sort ascending first, then descending on the second click. I'd like to reverse thatt so that the first sort is descending. Is that possible?
Thanks
Harel

Edit: The solution offered below does not seem to work at all:
http://www.sencha.com/forum/showthread.php?57851-Grid-How-to-change-default-sort-direction

harel
27 Sep 2010, 4:57 PM
Actually - the fix does work though it has to be applied to the Record, not the grid's columns. Sorted.