Sets the index for the specified field and automatically re-arranges the order of the other fields accordingly

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

Syntax

C#
public void SetFieldIndex(
	string fieldKey,
	int index
)
Visual Basic
Public Sub SetFieldIndex ( _
	fieldKey As String, _
	index As Integer _
)
JScript
public function SetFieldIndex(
	fieldKey : String, 
	index : int
)

Parameters

fieldKey
Type: System..::..String
The key of the field whose index must be modified
index
Type: System..::..Int32
The new index of the field

Remarks

UpdateUI() method must be called to apply the changes

Exceptions

ExceptionCondition
System..::..ArgumentException The AwxListField must exist in the AwxListView Fields list

See Also