PDA

View Full Version : Expander closed in grid, on load How to. (Need Help)



Sno
27 Apr 2010, 5:44 AM
So I am attempting to see if I can have a grid that is has the expander automatically closed.
I am not exactly sure how to do this, and could not find any simplified way of doing it after search the forums for about 10 minutes.

Below is the idea that I am going for, where it shows a summary totals but when expanded shows the actual data of course.

20177

Sno
27 Apr 2010, 7:41 AM
Should I be calling to do this, with grouping?
collapseAllGroups();

Sno
27 Apr 2010, 9:41 AM
Fixed:


view: new Ext.grid.GroupingView({
forceFit: true,
showGroupName: false,
enableNoGroups: false,
enableGroupingMenu: false,
startCollapsed: true, // Must have for collapsed view.
hideGroupedColumn: false
}),