sortOrder

Type: Integer

Availability: Read or write at run time only

The sortOrder property of the JadeTableColumn class contains the precedence of the column referenced by this object when sorting, in the range 1 through 3, or it contains zero (0) to remove sorting on the current column.

For a description of this property, see the Table control sortColumn property. See also the JadeTableColumn class sortAsc, sortCased, and sortType properties, which are dependent on the column already being recorded as a sort column by the sortOrder property.

The code fragment in the following example shows the use of the sortOrder property.

table1.accessColumn(2).sortOrder := 1;   // first column in sort
table1.accessColumn(4).sortOrder := 2;   // second column
table1.accessColumn(5).sortOrder := 3;   // third column