Property | Type | Description | |
---|---|---|---|
$filter | |||
$onRender | of callbacks: function(Datagrid) | ||
$orderColumn | |||
$orderType | |||
$page |
Property | Type | Description | |
---|---|---|---|
$cellsTemplates | array | ||
$columnGetterCallback | callable | null | ||
$columns | array | ||
$data | mixed | ||
$dataSourceCallback | callable | ||
$editFormCallback | callable | null | ||
$editFormFactory | callable | null | ||
$editRowKey | mixed | ||
$filterDataSource | array | ||
$filterDefaults | array | ||
$filterFormFactory | callable | null | ||
$paginator | Nette\Utils\Paginator | ||
$paginatorItemsCountCallback | callable | null | ||
$rowPrimaryKey | string | ||
$sendOnlyRowParentSnippet | boolean | ||
$translator | Nette\Localization\ITranslator |
Method | Description | |
---|---|---|
addCellsTemplate ( string | Nette\Bridges\ApplicationLatte\Template $path ) | ||
addColumn ( $name, $label = null ) : |
Adds column | |
createComponentForm ( ) | ||
getCellsTemplate ( ) | ||
getColumnGetterCallback ( ) | ||
getDataSourceCallback ( ) | ||
getEditFormCallback ( ) | ||
getEditFormFactory ( ) | ||
getFilterFormFactory ( ) | ||
getRowPrimaryKey ( ) | ||
getTranslator ( ) | ||
getter ( $row, $column, $need = true ) | ||
handleEdit ( $primaryValue, $cancelEditPrimaryValue = null ) | ||
handlePaginate ( ) | ||
handleSort ( ) | ||
invalidateRow ( $primaryValue ) | ||
loadState ( array $params ) | ||
processForm ( Nette\Application\UI\Form $form ) | ||
redrawControl ( $snippet = null ) | ||
redrawRow ( $primaryValue ) | ||
render ( ) | **************************************************************************** | |
setColumnGetterCallback ( callable $getterCallback = null ) | ||
setDataSourceCallback ( callable $dataSourceCallback ) | ||
setEditFormCallback ( callable $editFormCallback = null ) | ||
setEditFormFactory ( callable $editFormFactory = null ) | ||
setFilterFormFactory ( callable $filterFormFactory ) | ||
setPagination ( $itemsPerPage, callable $itemsCountCallback = null ) | ||
setRowPrimaryKey ( $columnName ) | ||
setTranslator ( Nette\Localization\ITranslator $translator ) | ||
translate ( $s, $count = null ) |
Method | Description | |
---|---|---|
attached ( $presenter ) | **************************************************************************** | |
createTemplate ( $class = null ) | ||
getData ( $key = null ) |
Method | Description | |
---|---|---|
filterFormFilter ( $values ) |
public addCellsTemplate ( string | Nette\Bridges\ApplicationLatte\Template $path ) | ||
$path | string | Nette\Bridges\ApplicationLatte\Template |
public addColumn ( $name, $label = null ) : |
||
return |
protected attached ( $presenter ) |
public processForm ( Nette\Application\UI\Form $form ) | ||
$form | Nette\Application\UI\Form |
public render ( ) |
public setColumnGetterCallback ( callable $getterCallback = null ) | ||
$getterCallback | callable |
public setDataSourceCallback ( callable $dataSourceCallback ) | ||
$dataSourceCallback | callable |
public setEditFormCallback ( callable $editFormCallback = null ) | ||
$editFormCallback | callable |
public setEditFormFactory ( callable $editFormFactory = null ) | ||
$editFormFactory | callable |
public setFilterFormFactory ( callable $filterFormFactory ) | ||
$filterFormFactory | callable |
public setPagination ( $itemsPerPage, callable $itemsCountCallback = null ) | ||
$itemsCountCallback | callable |
public setTranslator ( Nette\Localization\ITranslator $translator ) | ||
$translator | Nette\Localization\ITranslator |
protected Paginator,Nette\Utils $paginator | ||
return | Nette\Utils\Paginator |
protected bool $sendOnlyRowParentSnippet | ||
return | boolean |