Closed milsorm closed 7 years ago
My workaround inside Datagrid.latte:
{ifset #row-actions}{var $hasActionsColumn = 1}{/ifset}
just after than code (because ifset can check existence of block better than $this->blocks).
Thanks for the bugreport and suggested fix!
I have grid without filter but with row-actions block in my template.
Inside Datagrid.latte:
When dumped $this->blocks the row-actions is missing. If I create filter form, than $hasActionsColumn will be true (not from row-actions block existence) and I can see all row-actions. Without filter not.
Possibly $this->blocks cannot see MY row-actions but only default blocks in Datagrid.latte?