PDA

View Full Version : get sort order in grid



kamalakarreddy vancha
10 Sep 2014, 3:15 AM
Hi...
How to get sort order in grid.
I mean in grid if i am using the ASC or DES order i need to get that order.
Please help me in this....


Thanks
Kamalakar

Scott-1
10 Sep 2014, 6:12 AM
You do not get it off the grid you get it off the store

This finds the first sort
var lStore = this.getResultGrid().store;
var sorter = lStore.getFirstSorter();

It is Ext.util.Sortable