메소드 |
설명 |
|
dispatch ( ) : void |
Dispatch table |
|
init ( ) : Action_Helper_Datatable |
|
|
setBody ( string $p_columnProperty, array $p_values = [] ) : Action_Helper_Datatable |
Set body properties |
|
setClasses ( array $p_values = [] ) : Action_Helper_Datatable |
Set header style classes |
|
setCols ( array $cols, array $sorting = [] ) : Action_Helper_Datatable |
Set table columns |
|
setDataProp ( array $p_values = [] ) : Action_Helper_Datatable |
Set custom widths |
|
setDataSource ( Newscoop\Datatable\ISource $p_dataSource ) : Action_Helper_Datatable |
Set Datasource |
|
setEntity ( $p_entity ) : Action_Helper_Datatable |
Set entity |
|
setHandle ( Closure $handle ) : Action_Helper_Datatable |
Set handle |
|
setHeader ( string $p_columnProperty, array $p_values = [] ) : Action_Helper_Datatable |
Set header properties |
|
setInitialSorting ( array $initial_sort = [] ) : Action_Helper_Datatable |
Set initial sorting columns (aaSorting) |
|
setOption ( string $p_key, mixed $p_value ) : Action_Helper_Datatable |
Setter for options |
|
setSearchable ( array $searchable = [] ) : Action_Helper_Datatable |
Set searchable columns (bSearchable_col#) |
|
setSorting ( array $p_sorting = [] ) : Action_Helper_Datatable |
Set sorting columns |
|
setStripClasses ( array $p_value = [] ) : Action_Helper_Datatable |
Set strip classes to use when rendering the table
Usefull for odd and even class |
|
setVisible ( array $p_values = [] ) : Action_Helper_Datatable |
Set visibility |
|
setWidths ( array | boolean $p_widths = false ) : Action_Helper_Datatable |
Set custom widths |
|
toggleAutomaticWidth ( boolean $p_state = null ) : Action_Helper_Datatable |
Toggle automatic width |
|