I use datagrid Ublaboo\Datagrid on my Nette project. This DataGrid is super, but I have one problem with get ID from component to presenter.
I have show.latte, that get ID to renderShow method in presenter
public function renderShow($id = null) {}
This is OK.
And I have in show.latte table list with datagrid.
<div class="table-responsive">
{control fileList}
</div>
Presenter:
public function createComponentFileList($name) {
// return factory method
return $grid
}
How do I get ID row from show.latte to presenter?