PDA

View Full Version : Panel grid groups - sorters



s2892
12 Feb 2012, 11:04 PM
Hi,
I couldn't find any examples / way how to sort the groups.
I can sort records,
I can sort ASC or DESC groups, but I would like to achieve non-standard sorting of the groups. How to do it, any ideas :-/

Big thx for help :)

mitchellsimoens
13 Feb 2012, 8:41 AM
Add a sorter to the store.

skirtle
13 Feb 2012, 8:50 AM
Have you tried specifying a sorterFn on your grouper?

http://docs.sencha.com/ext-js/4-0/#!/api/Ext.util.Grouper-cfg-sorterFn