The column's current sort direction.
StringValue = Get_Property(OLECtrlEntID, "OLE.ColumnSort[col]") |
StringValue can be any string meeting the following format requirements:
Syntax: "A" for ascending, "D" for descending
Index | Description |
---|---|
col | The index to a column in the report table |
The ColumnSort property returns the column's sort direction. If the column is sorted in the ascending direction, the property returns "A". If the column is sorted in the descending direction, the property returns "D". You cannot set this property. Use the SortOrder property to programmatically modify the sort directions.
// Get column 3's sort direction SortDirection = Set_Property(@Window:".OLE_REPORTTABLE", "OLE.ColumnSort[3]") |