Свойство | Тип | Описание | |
---|---|---|---|
$filter | |||
$onRender | of callbacks: function(Datagrid) | ||
$orderColumn | |||
$orderType | |||
$page |
Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
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 ) |
Метод | Описание | |
---|---|---|
attached ( $presenter ) | **************************************************************************** | |
createTemplate ( $class = null ) | ||
getData ( $key = null ) |
Метод | Описание | |
---|---|---|
filterFormFilter ( $values ) |
public addCellsTemplate ( string | Nette\Bridges\ApplicationLatte\Template $path ) | ||
$path | string | Nette\Bridges\ApplicationLatte\Template |
public addColumn ( $name, $label = null ) : |
||
Результат |
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 | ||
Результат | Nette\Utils\Paginator |
protected bool $sendOnlyRowParentSnippet | ||
Результат | boolean |