Back to Devexpress

TcxTreeListColumn.SortIndex Property

vcl-cxtl-dot-tcxtreelistcolumn-aae594be.md

latest1.5 KB
Original Source

TcxTreeListColumn.SortIndex Property

Specifies the index of the current column within sorted columns.

Declaration

delphi
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

TcxTreeListNode.AlphaSort

Example: TreeList.Sorted, TreeList.SortedColumnCount, TreeList.SortedColumns, Column.SortOrder

TcxTreeListColumn Class

TcxTreeListColumn Members

cxTL Unit