Set (or reset) sorting of a column for the specified widget, where applicable.
Syntax |
setColSorting(string name, int col, int type=XForm_SortOff) |
---|---|
name |
Target widget name |
col |
Column index (-1=current column) |
type |
Sorting type (see table below) |
Result |
(none) |
Available storing type are the following:
Label |
Description |
---|---|
XForm_SortOff |
Turn off sorting |
XForm_SortAsc |
Sort the column ascending its value |
XForm_SortDesc |
Sort the column descending its value |