Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RowCollection.CollapseAllGroups() Method

In This Article

Collapses all the row groups in a worksheet.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.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