Click or drag to resize

XlsWorksheet GroupByColumns Method

Groups columns.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public CellRange GroupByColumns(
	int firstColumn,
	int lastColumn,
	bool isCollapsed
)

Parameters

firstColumn
Type: System Int32
The first column index to be grouped.
lastColumn
Type: System Int32
The last column index to be grouped.
isCollapsed
Type: System Boolean
Indicates whether group should be collapsed.

Return Value

Type: CellRange
See Also