PDA

View Full Version : Collapsed group



Sudha1807
12 Jan 2011, 9:08 AM
Hi,

I am trying to display multigrouping,all my groups are comming as expanded but i want it as collapsed, can anybody help on this.(only the first group should display and rest all collapsed)

Thank you

deckera
12 Jan 2011, 12:00 PM
var groupView = new Ext.ux.grid.MultiGroupingView({
hideGroupedColumn : true
,groupMode : 'display'
,emptyGroupText : ''
,startCollapsed : true
,displayEmptyFields : true //you can choose to show the group fields, even when they have no values
,groupTextTpl : '{group} '+
'({values.rs.length} '+
'Record{[values.rs.length>1?"s":""]}) '
});