Skip to main content
Row

RangeExtensions.UnGroupRows(CellRange, Boolean) Method

Ungroups the grouped rows that comprise the cell range.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public static void UnGroupRows(
    this CellRange range,
    bool unhideCollapsed
)

Parameters

Name Type Description
range CellRange

A CellRange object specifying a cell range that belongs to rows to be ungrouped.

unhideCollapsed Boolean

true, if the collapsed rows are displayed after ungrouping; otherwise, false.

Remarks

The UnGroupRows method is an extension method of the CellRange object that is called by using the instance method syntax.

To group rows, use the RangeExtensions.GroupRows method.

Another way to group and ungroup rows in the worksheet is to use the RowCollection.Group and RowCollection.UnGroup methods (see the How to: Outline Data Manually document).

See Also