View Full Version : How to sort grouped fields by another fileld

10 Feb 2011, 11:55 PM
Hi, I write this code

var corm_plSore = new Ext.data.GroupingStore({
reader: new Ext.data.JsonReader({
fields: [
root: 'rows'
proxy: new Ext.data.HttpProxy({
url: 'Ps/st_cormPlan.php',
timeout: 50000000 }),
sortInfo:{field: 'srt_gr_index', direction: "ASC"},


Groups is sorting ASC by default, but i need that my groups will be sorting by field
Can i do this without any perversions :D ?