View Full Version : Sorting grid with Multiple Level headers

27 Sep 2012, 2:15 AM
HI All,

I am using ExtJs 4.1 framework. We have a grid with grouping feature which helps us to have multiple level of headers (group headers).

var groupingFeature = Ext.create('Ext.grid.feature.Grouping', {
groupHeaderTpl: 'Group: {name} ({rows.length})',
startCollapsed: true


I want to sort the grid by clicking on headers. it is possible?

I see following challanges:

1) If we have 3 levels of headers & user clicks on top level header (2012 in this case), under which level we will show sort indicator?
2) If is possible to enable sorting only for the lowest level of header? If yes, how ?

2 Oct 2012, 8:23 AM
Via the column menu you can change the grouping.