我在我的Nette項目中使用datagrid Ublaboo \ Datagrid。 這個DataGrid是超級的,但我有一個從組件到演示者的ID問題。ublaboo datagridd從拿鐵到演示者獲取ID
我有show.latte,即獲得ID在演講
public function renderShow($id = null) {}
這是OK renderShow方法。
而我有show.latte表格列表與datagrid。
<div class="table-responsive">
{control fileList}
</div>
主持人:
public function createComponentFileList($name) {
// return factory method
return $grid
}
我如何從show.latte ID行主持人?