doomy / datagrid
There is no license information available for the latest version (1.6.1) of this package.
DataGrid components
1.6.1
2023-04-12 20:50 UTC
Requires
- php: >=7.4
- doomy/components: ^2.0.1
- doomy/translator: ^1.2.0
- nette/utils: ^v3.1.3
Requires (Dev)
- mockery/mockery: ^1.3
- phpunit/phpunit: 7.5.9
README
Requirements
- bootstrap
- font awesome
Usage
public function createComponentClientDataGrid(): IComponent { $dataGrid = new DataGrid( $this->dataGridEntryFactory, $this->data, DataEntity::class, [], ); $dataGrid->setReadOnly(FALSE); $dataGrid->onEvent(DataGrid::EVENT_ITEM_SAVED, function($values) { $this->data->save(DataEntity::class, $values); }); return $dataGrid; }
note: readme is work in progress, to be updated