Property | Type | Description | |
---|---|---|---|
$onControlAdd | callable[] | ||
$onControlAfterAdd | callable[] | ||
$onCustomRedraw | callable[] | ||
$onSetDefaults | callable[] | ||
$onSubmit | callable[] |
Property | Type | Description | |
---|---|---|---|
$grid | |||
$item_id | mixed | ||
$position_top | boolean | Inline adding - render on the top or in the bottom? | |
$primary_where_column | string | null | ||
$showNonEditingColumns | boolean | . |
Method | Description | |
---|---|---|
__construct ( |
||
addControlsClasses ( |
||
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 |
public __construct ( |
||
$grid | ||
$primary_where_column | string | null |
public addControlsClasses ( |
||
$container |
public isPositionTop ( ) : boolean | ||
return | boolean |
public renderButton ( Row $row ) : Nette\Utils\Html | ||
$row | Row | |
return | Nette\Utils\Html |
public renderButtonAdd ( ) : Nette\Utils\Html | ||
return | Nette\Utils\Html |
public setPositionTop ( boolean $position_top = TRUE ) : static | ||
$position_top | boolean | |
return | static |
public setShowNonEditingColumns ( boolean $show = TRUE ) | ||
$show | boolean |
protected bool $position_top | ||
return | boolean |