Description

setSortingColumns(array $columns, string $default = null)

Sets the columns that may be sorted on.

Parameters

array $columns
The columns whereon sorting is enabled.
string $default = null
The column whereon will be sorted by default.

Comment