MarkupAdminDataTable class

Class MarkupAdminDataTable

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the MarkupAdminDataTable class also inherits all the methods and properties of: ModuleJS, WireData and Wire.

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
MarkupAdminDataTable::action(array $action)
$thisAdd action(s) button underneath the table 
MarkupAdminDataTable::addClass(string $class)
NoneAdd a class to the table (without replacing existing ones) 
MarkupAdminDataTable::footerRow(array $a)
$thisSet the footer row for the table
Can also be used as property: MarkupAdminDataTable::footerRow
 
MarkupAdminDataTable::get(string $key)
mixed nullGet property 
MarkupAdminDataTable::headerRow(array $a)
$thisSet the header row for the table
Can also be used as property: MarkupAdminDataTable::headerRow
 
MarkupAdminDataTable::removeClass(string $class)
NoneRemove a class from the table 
MarkupAdminDataTable::render()
stringRender the table
MarkupAdminDataTable::row(array $a)
$thisAdd a row to the table 
MarkupAdminDataTable::setCaption(string $caption)
NoneSet table caption 
MarkupAdminDataTable::setClass(string $class)
NoneSet class(es) to add to table 
MarkupAdminDataTable::setColNotSortable(int $index)
NoneSet a column as not sortable (first column is 0) 
MarkupAdminDataTable::setEncodeEntities()
NoneSet whether or not entity encoding is enabled 
MarkupAdminDataTable::setID(string $id)
NoneSet table id attribute 
MarkupAdminDataTable::setResizable(bool $resizable)
NoneSet whether or not table is resizable 
MarkupAdminDataTable::setResponsive()
NoneSet the responsive mode of this table 
MarkupAdminDataTable::setSortable(bool $sortable)
NoneSet whether or not table is sortable 
MarkupAdminDataTable::settings(string $key)
string int array null MarkupAdminDataTableGet or set an internal setting
Can also be used as property: MarkupAdminDataTable::settings
 

Properties

NameReturnSummaryDefault
MarkupAdminDataTable::actions array 
MarkupAdminDataTable::caption string 
MarkupAdminDataTable::class string 
MarkupAdminDataTable::encodeEntities bool 
MarkupAdminDataTable::id string 
MarkupAdminDataTable::resizable bool 
MarkupAdminDataTable::responsive bool 
MarkupAdminDataTable::rowAttrs array 
MarkupAdminDataTable::rowClasses array 
MarkupAdminDataTable::rows array 
MarkupAdminDataTable::sortable bool 

Additional methods and properties

In addition to the methods and properties above, MarkupAdminDataTable also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.251