Method |
Description |
|
__construct ( ) |
|
|
addColumn ( ) |
|
|
countColumns ( ) : integer |
Count the number of columns in the datatable. |
|
getCallbacks ( ) : array |
|
|
getClass ( ) : String |
|
|
getCustomValues ( ) : array |
|
|
getData ( ) : array |
|
|
getId ( ) : String |
|
|
getOptions ( ) : array |
|
|
noScript ( ) |
Instructs the table not to echo the javascript |
|
removeOption ( string $key ) |
Remove an option item from the options array |
|
render ( null $view = null, array $additional_template_variables = null ) : mixed |
|
|
script ( null $view = null ) : mixed |
|
|
setAliasMapping ( boolean $value = true ) |
Advise the Datatable to return the data mapped with the column name. |
|
setCallbacks ( ) |
|
|
setClass ( $class ) |
Set the name of the class that will be used by the datatable. |
|
setCustomValues ( ) |
|
|
setData ( array $data ) |
|
|
setId ( string $id = '' ) |
|
|
setOptions ( ) |
Set a single option or an array of options for the jquery call |
|
setOrder ( $order = [] ) |
|
|
setUrl ( $url ) |
|
|
showFooter ( $value = 'columns' ) |
Set the footer display mode. |
|