Sets the index for the specified column and automatically re-arranges the order of the other columns accordingly

Namespace: Ico.Awx.DataGrid
Assembly: AwxViewControl (in AwxViewControl.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public void SetColumnIndex(
	AwxColumn column,
	int index
)
Visual Basic
Public Sub SetColumnIndex ( _
	column As AwxColumn, _
	index As Integer _
)
JScript
public function SetColumnIndex(
	column : AwxColumn, 
	index : int
)

Parameters

column
Type: Ico.Awx.DataGrid..::..AwxColumn
The column whose index must be modified
index
Type: System..::..Int32
The new index of the column

Remarks

UpdateUI() method must be called to apply the changes

Exceptions

ExceptionCondition
System..::..ArgumentException The AwxColumn must exist in the AwxGridView Columns list

See Also