Worksheet.GroupColumns

GroupColumns(int, int, bool, bool)

Groups columns.

public void GroupColumns(int firstColumn, int lastColumn, bool isHidden, bool addToUndo)
ParameterTypeDescription
firstColumnInt32The first column index to be grouped.
lastColumnInt32The last column index to be grouped.
isHiddenBooleanSpecifies if the grouped columns are hidden
addToUndoBooleanSpecifies if this operation will be added into undo manager. And the GridDesktop’s EnableUndo property must be set to true.

See Also


GroupColumns(int, int, int, bool)

Groups columns.

public void GroupColumns(int firstColumn, int lastColumn, int outlineLevel, bool isHidden)
ParameterTypeDescription
firstColumnInt32The first column index to be grouped.
lastColumnInt32The last column index to be grouped.
outlineLevelInt32outlineLevel
isHiddenBooleanSpecifies if the grouped columns are hidden

See Also


GroupColumns(int, int)

Groups columns.

public void GroupColumns(int firstColumn, int lastColumn)
ParameterTypeDescription
firstColumnInt32The first column index to be grouped.
lastColumnInt32The last column index to be grouped.

See Also