View Full Version : Grouping Summaries in Multiple Tab Grid Panels

5 Mar 2013, 5:59 AM
I have two tabs in a panel with a grid rendered in each tab. I am trying to use the Grouping Summary feature and start them all collapsed, but only the second tab starts collapsed. The first tab is never initially collapsed.

Here's the grouping summary code:

features: [ { groupHeaderTpl: 'State: {name}', ftype: 'groupingsummary', startCollapsed: true } ], groupField: 'state'

Here's the code for the state column:

{ text: 'State', dataIndex: 'state', width: 140, summaryType: 'count',
summaryRenderer: function (value) {
return '<b>' + Ext.String.format('{0} organization{1}', value, value !== 1 ? 's' : '');

I need to have them both be initially collapsed. Any help is appreciated.