PDA

View Full Version : How to change the default sort mechanism of grid column



samir_ware
19 Jun 2012, 12:13 AM
Helllo All
I am willing to have custom sorting mechanism for column sorting in grid. Is there any hook EXT has provided for such custom sorting ?
Thanks
Samir

evant
19 Jun 2012, 12:38 AM
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.Field-cfg-sortType

samir_ware
19 Jun 2012, 1:00 AM
Thanks Evan ...
That helps .
Thank you very much

adityavarma.mca
19 Jun 2012, 3:44 AM
It saved my time....

mwilliamsShields
10 Jun 2014, 12:17 PM
It looks like sortType can only sort a list on the model level. Is there a way to define a sort on the grid column?


http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.Field-cfg-sortType