MarkupAdminDataTable::setSortable() method

Set whether or not table is sortable

When enabled, tables may be sorted by clicking the labels in the header row. As a result, sortable tables require that the table has a header row.

Usage

$table->setSortable(bool $sortable);

Arguments

NameType(s)Description
$sortablebool

$table methods and properties

API reference based on ProcessWire core version 3.0.255