Determines if the user can sort the column by clickingon its header.
Usage
Set_Property(OLECtrlEntID, "OLE.ColumnSortable[col]", Boolean)
Values
[True | False]
Default: True
Indices
Index | Description |
---|---|
col | The index to a column in the report table |
Remarks
The ColumnSortable property establishes whether or not the user can change the sort direction of a column by clicking on its header. By default, this is true, and the user can sort the column as they please. Set this to false to prevent the user from customizing the sort. When false, clicking the header has no effect.
Example
// Prevent the user from sorting column 1 Set_Property(@Window:".OLE_REPORTTABLE", "OLE.ColumnSortable[1]", 0)