Skip to main content

TcxTreeListColumn.SortIndex Property

Specifies the index of the current column within sorted columns.

Declaration

property SortIndex: Integer read; write; default -1;

Property Value

Type
Integer

Remarks

This property specifies the column’s position within the TreeList control’s SortedColumns collection. End-users can add or remove columns from this collection by clicking column headers while holding down the Shift and Ctrl keys.

Setting the SortIndex property to -1 removes the column from the SortedColumns collection, and sets the column’s SortOrder property to soNone.

The default value of the SortIndex property is -1.

See Also