public
Grido\Components\Columns\Editable
|
#
getColumn( string $name, boolean $need = TRUE )
Returns column component.
Returns column component.
Parameters
Returns
|
public
Grido\Components\Filters\Filter
|
#
getFilter( string $name, boolean $need = TRUE )
Returns filter component.
Returns filter component.
Parameters
Returns
|
public
Grido\Components\Actions\Action
|
#
getAction( string $name, boolean $need = TRUE )
Returns action component.
Returns action component.
Parameters
Returns
|
public
Grido\Components\Operation
|
#
getOperation( boolean $need = TRUE )
Returns operations component.
Returns operations component.
Parameters
Returns
|
public
Grido\Components\Export
|
#
getExport( boolean $need = TRUE )
Returns export component.
Returns export component.
Parameters
Returns
|
public
Grido\Components\Columns\Text
|
|
public
|
|
public
Grido\Components\Columns\Email
|
|
public
|
|
public
Grido\Components\Columns\Link
|
|
public
Grido\Components\Columns\Date
|
#
addColumnDate( string $name, string $label, string $dateFormat = NULL )
|
public
Grido\Components\Columns\Number
|
#
addColumnNumber( string $name, string $label, integer $decimals = NULL, string $decPoint = NULL, string $thousandsSep = NULL )
Parameters
- $name
- $label
- $decimals
- number of decimal points
- $decPoint
- separator for the decimal point
- $thousandsSep
- thousands separator
Returns
|
public
Grido\Components\Filters\Text
|
|
public
Grido\Components\Filters\Date
|
|
public
Grido\Components\Filters\DateRange
|
|
public
Grido\Components\Filters\Check
|
|
public
Grido\Components\Filters\Select
|
|
public
Grido\Components\Filters\Number
|
|
public
Grido\Components\Filters\Custom
|
|
public
Grido\Components\Actions\Href
|
#
addActionHref( string $name, string $label, string $destination = NULL, array $args = NULL )
Parameters
- $name
- $label
- $destination
- $args
Returns
|
public
Grido\Components\Actions\Event
|
|
public
Grido\Components\Operation
|
#
setOperation( array $operations, callable $onSubmit )
Parameters
- $operations
- $onSubmit
- callback after operation submit
Returns
|
public
Grido\Components\Export
|
|
public
Grido\Grid
|
#
setEditableColumns( callable $callback = NULL )
Sets all columns as editable.
Callback is optional for user implementation of method for saving modified data.
Sets all columns as editable.
Callback is optional for user implementation of method for saving modified data.
Parameters
- $callback
- function($id, $newValue, $oldValue, Editable $column) {}
Returns
|