Class Action
Action on one row.
- Nette\Application\UI\PresenterComponent
- Grido\Components\Component
- Grido\Components\Actions\Action
Direct known subclasses
Grido\Components\Actions\Event
,
Grido\Components\Actions\Href
Abstract
Namespace: Grido\Components\Actions
Package: Grido\Components\Actions
Author: Petr Bugyík
Located at Components/Actions/Action.php
Namespace: Grido\Components\Actions
Package: Grido\Components\Actions
Author: Petr Bugyík
Located at Components/Actions/Action.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setDisable( callable $callback )
Sets callback for disable. Callback should return TRUE if the action is not allowed for current item. |
public
|
|
public
|
|
public
|
|
public
Nette\Utils\Html
|
|
public
mixed
|
|
public
array
|
|
public
|
Methods inherited from Grido\Components\Component
addComponentToGrid()
,
getForm()
,
getGrid()
,
getPropertyAccessor()
,
translate()
Magic methods summary
Constants summary
string |
ID
|
#
'actions'
|
Properties summary
protected
Nette\Utils\Html
|
$elementPrototype | |
protected
callable
|
$customRender
for custom rendering |
|
protected
string
|
$primaryKey
|
|
protected
callable
|
$disable
for disabling |
|
protected
string
|
$options
|
Properties inherited from Grido\Components\Component
$form
,
$grid
,
$label
,
$propertyAccessor
,
$type
Magic properties
public
string
|
$primaryKey
|
public
string
|
$options
|
public read-only
Nette\Utils\Html
|
$element
|
public write-only
Nette\Utils\Html
|
$elementPrototype
|
public write-only
callable
|
$customRender
|
public write-only
callable
|
$disable
|