Click or drag to resize

ColumnCommandsSetColumnGroupNumber(DataTable, IAscendingIntegerCollection, IAscendingIntegerCollection, Int32) Method

Sets the group number for the selected data and property columns of a table.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static void SetColumnGroupNumber(
	this DataTable dataTable,
	IAscendingIntegerCollection selectedDataColumns,
	IAscendingIntegerCollection selectedPropColumns,
	int nGroup
)

Parameters

dataTable  DataTable
The table containing the columns.
selectedDataColumns  IAscendingIntegerCollection
The selected data columns.
selectedPropColumns  IAscendingIntegerCollection
The selected property columns.
nGroup  Int32
The target group number.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataTable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also