ExtJs GroupingView prevent sorting of the group title
How to prevent sorting of the group 开发者_运维技巧title in GroupingView. By default group titles are sorted 'ASC'. I have a situation where "Adhoc Reports" group should order last in the GroupingView.
I need the group title to be in the following order
groupName: 'Federal Reports' groupName: 'State Reports' groupName: 'Ad Hoc Reports'
This is how these are grouped in the JSON.
Try to turn on remoteSort
on your store.
EDIT
Additionally try to set groupOnSort
to false
and remoteGroup
to true
.
I am not sure, honestly I could not read your post carefully, but this maybe help you. Btw, I deal an issue like that on Ext PropertGrid, and it was a headache. Disable auto sorting on property grid in ExtJS
So I set remoteGroup: true
and in my server side sorted data via SQL.
Similar issue was described here: Sorting the Grouped data in GridPanel
精彩评论