Page History
...
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<0, 1> | Column Index | Integer | Index to a column to group by | "" |
<0, 2> | Direction | Option | Sort direction | A |
Remarks
The SortOrder property establishes how rows are sorted. You can sort on any number of columns.
...
Code Block |
---|
// Sort by the first column, ascending Set_Property(@Window:".OLE_RECORDTABLE", "OLE.SortOrder", 1) // Remove all sorting Set_Property(@Window:".OLE_RECORDTABLE", "OLE.SortOrder", "") // Sort by the 3rd column (descending), then by the 2nd one (ascending) Set_Property(@Window:".OLE_RECORDTABLE", "OLE.SortOrder", 3:@VM:"D":@FM:2:@VM:"A") |