PHP Class Ublaboo\DataGrid\InlineEdit\InlineEdit

Inheritance: extends Nette\Object, use trait Ublaboo\DataGrid\Traits\TButtonTryAddIcon, use trait Ublaboo\DataGrid\Traits\TButtonIcon, use trait Ublaboo\DataGrid\Traits\TButtonClass, use trait Ublaboo\DataGrid\Traits\TButtonTitle, use trait Ublaboo\DataGrid\Traits\TButtonText
Afficher le fichier Open project: ublaboo/datagrid Class Usage Examples

Méthodes publiques

Свойство Type Description
$onControlAdd callable[]
$onControlAfterAdd callable[]
$onCustomRedraw callable[]
$onSetDefaults callable[]
$onSubmit callable[]

Protected Properties

Свойство Type Description
$grid Ublaboo\DataGrid\DataGrid
$item_id mixed
$position_top boolean Inline adding - render on the top or in the bottom?
$primary_where_column string | null
$showNonEditingColumns boolean .

Méthodes publiques

Méthode Description
__construct ( DataGrid $grid, string | null $primary_where_column = NULL )
addControlsClasses ( Container $container )
getItemId ( ) : mixed
getPrimaryWhereColumn ( ) : string
isPositionBottom ( ) : boolean
isPositionTop ( ) : boolean Getter for inline adding
renderButton ( Row $row ) : Nette\Utils\Html Render row item detail button
renderButtonAdd ( ) : Nette\Utils\Html Render row item detail button
setItemId ( mixed $id )
setPositionTop ( boolean $position_top = TRUE ) : static Setter for inline adding position
setShowNonEditingColumns ( boolean $show = TRUE )
showNonEditingColumns ( ) : boolean

Method Details

__construct() public méthode

public __construct ( DataGrid $grid, string | null $primary_where_column = NULL )
$grid Ublaboo\DataGrid\DataGrid
$primary_where_column string | null

addControlsClasses() public méthode

public addControlsClasses ( Container $container )
$container Nette\Forms\Container

getItemId() public méthode

public getItemId ( ) : mixed
Résultat mixed

getPrimaryWhereColumn() public méthode

public getPrimaryWhereColumn ( ) : string
Résultat string

isPositionBottom() public méthode

public isPositionBottom ( ) : boolean
Résultat boolean

isPositionTop() public méthode

Getter for inline adding
public isPositionTop ( ) : boolean
Résultat boolean

renderButton() public méthode

Render row item detail button
public renderButton ( Row $row ) : Nette\Utils\Html
$row Row
Résultat Nette\Utils\Html

renderButtonAdd() public méthode

Render row item detail button
public renderButtonAdd ( ) : Nette\Utils\Html
Résultat Nette\Utils\Html

setItemId() public méthode

public setItemId ( mixed $id )
$id mixed

setPositionTop() public méthode

Setter for inline adding position
public setPositionTop ( boolean $position_top = TRUE ) : static
$position_top boolean
Résultat static

setShowNonEditingColumns() public méthode

public setShowNonEditingColumns ( boolean $show = TRUE )
$show boolean

showNonEditingColumns() public méthode

public showNonEditingColumns ( ) : boolean
Résultat boolean

Property Details

$grid protected_oe property

protected DataGrid,Ublaboo\DataGrid $grid
Résultat Ublaboo\DataGrid\DataGrid

$item_id protected_oe property

protected mixed $item_id
Résultat mixed

$onControlAdd public_oe property

public callable[] $onControlAdd
Résultat callable[]

$onControlAfterAdd public_oe property

public callable[] $onControlAfterAdd
Résultat callable[]

$onCustomRedraw public_oe property

public callable[] $onCustomRedraw
Résultat callable[]

$onSetDefaults public_oe property

public callable[] $onSetDefaults
Résultat callable[]

$onSubmit public_oe property

public callable[] $onSubmit
Résultat callable[]

$position_top protected_oe property

Inline adding - render on the top or in the bottom?
protected bool $position_top
Résultat boolean

$primary_where_column protected_oe property

protected string|NULL $primary_where_column
Résultat string | null

$showNonEditingColumns protected_oe property

.
protected bool $showNonEditingColumns
Résultat boolean