Home › Forums › Guriddo jqGrid JS › Discussion › Local sort grouped data
I have a grid, I get the data through ajax based on user interaction with my site (I don't want to call from the grid).
I bind the data, but the group sorts on the groupfield alpa.
Hello
I am also in the same issue.For now I change the source of jqGrid…
The change in jquery.jqGrid.min.js was very simple…
…if(a.p.grouping){if(u.groupSorted===true){r.orderBy(C,u.groupOrder[0],p[0].stype,p[0].srcfmt)};u.groupDataSorted=true}……k=d.groupCollapse?d.plusicon:d.minusicon,l,r,m;if(!d.groupDataSorted && d.groupSorted===true){d.sortitems[0].sort();…
— my jqGrid def
groupingView : {groupField : ???,groupColumnShow : [false],groupCollapse : false,groupSorted: false,groupText : ['{0} {1}']
},
—
Thus the
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS