setSortColumn

Sets the column by which the table will be sorted.

Synopsis

void setSortColumn(const string &columnId, bool ascending = true) synchronized(_unfilteredData)

Parameters

Parameter Meaning
columnId ID of the column to sort by.
ascending (optional) Sort ascending if `true`, descending if `false` (default: `true`).

Assignment

DynamicTableView

Availability

CTRL