Skip to main content
Row

ColumnCollection.CollapseAllGroups() Method

Collapses all the column groups in a worksheet.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

void CollapseAllGroups()

Remarks

The table below lists API methods that allow you to collapse/expand row and column groups in a worksheet:

Method

Description

ColumnCollection.CollapseAllGroups

RowCollection.CollapseAllGroups

Collapses all the column/row groups in a worksheet.

ColumnCollection.CollapseGroups

RowCollection.CollapseGroups

Collapses column/row groups starting from the specified level.

ColumnCollection.ExpandAllGroups

RowCollection.ExpandAllGroups

Expands all the column/row groups in a worksheet.

Refer to the Data Grouping article to learn more on how to group data in a worksheet and specify group settings.

See Also