Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PosNameTypeDescriptionDefault
<0, 1>Column IndexIntegerIndex to a column to group by""
<0, 2>DirectionOptionSort directionA

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")

See Also

ColumnListGroupOrderColumnSort