View Full Version : Default Sorting on groupField in Store

31 May 2012, 5:39 AM

Is there a way exist in ExtJS4.1 that I can get rid of default sorting based on groupField. I have to arrange data in a sorted way based on a sort column which is coming from server side. I have added that in the sorters but problem is in the debugger its showing me first property of sorter as groupField which is disturbing the arrangement.

Please help. Thanks in advance :)

7 Jun 2012, 12:52 PM
In the store's constructor it looks for if there are groupers and does the sort, there isn't a config to do it for you. You can specify your own sortFn in the Ext.util.Grouper, that's always a good time.