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

Namespace: Ico.Gdx
Assembly: GdxViewControl (in GdxViewControl.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

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

Parameters

column
Type: Ico.Gdx..::..GdxColumn
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 GdxColumn must exist in the GdxGridView Columns list

See Also