ExpandableColumn
ExpandableColumn
ExpandableColumn
- Full name: \Gibbon\Tables\Columns\ExpandableColumn
- Parent class: \Gibbon\Tables\Columns\Column
Methods
- __construct — Creates a pre-defined column for expanding rows with extra data.
- getLabel — Overrides the label.
- getOutput — Expander arrow.
- getExpandedContent — Output the content of the expanded row. Can be set by the column ID, or with the column’s formatter callable.
Inherited from Column
- __construct
- getLabel
- width
- getWidth
- description
- getDescription
- sortable
- notSortable
- getSortable
- format
- hasFormatter
- modifyCells
- getCellModifiers
- getOutput
Inherited from BasicAttributesTrait
- setID
- getID
- setTitle
- getTitle
- setClass
- addClass
- removeClass
- getClass
- addData
- getData
- getAttributeString
__construct
Creates a pre-defined column for expanding rows with extra data.
ExpandableColumn::__construct( $id, \Gibbon\Tables\DataTable $table )
getLabel
Overrides the label.
ExpandableColumn::getLabel( ): string
Return Value:
string
getOutput
Expander arrow.
ExpandableColumn::getOutput( array &$data = array() ): string
Return Value:
string
getExpandedContent
Output the content of the expanded row. Can be set by the column ID, or with the column’s formatter callable.
ExpandableColumn::getExpandedContent( array &$data = array(), integer $columnCount ): string
Return Value:
string