Skip to main content
All docs
V19.1
.NET Framework 4.5.2+
Row

RangeExtensions.UnGroupColumns(Range, Boolean) Method

Ungroups the grouped columns that comprise the cell range.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public static void UnGroupColumns(
    this Range range,
    bool unhideCollapsed
)

Parameters

Name Type Description
range Range

A Range object specifying a cell range that belongs to columns to be ungrouped.

unhideCollapsed Boolean

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

Remarks

The UnGroupColumns method is an extension method of the Range object that is called by using the instance method syntax.

To group columns, use the RangeExtensions.GroupColumns method.

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

See Also