RangeExtensions.GroupColumns(CellRange, Boolean) Method
In This Article
Groups columns that comprise the cell range.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
range | Cell |
A Cell |
collapse | Boolean | true, if the created group is collapsed; otherwise, false. |
#Remarks
The GroupColumns method is an extension method of the CellRange object that is called by using the instance method syntax.
To ungroup columns, use the RangeExtensions.UnGroupColumns 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