omines / datatables-bundle

DataTables bundle for Symfony
https://omines.github.io/datatables-bundle/
MIT License
251 stars 113 forks source link

Is it possible to create a omines-datatable using the render(controller()) function in twig #310

Closed Atreides78 closed 8 months ago

Atreides78 commented 11 months ago

Due to my depencencies I need to create a subrequest in twig e.g. render(controller('AppBundle:RenderTestDataTable:index', {'id': id})) for creating a datatable. In the Controller named RenderTestDataTableController->indexAction I am using the omines-datatable. I have some issues doing that - the datatable is not created. Is it even possible to make an omines-datatable using this kind of subrequest?

The project uses waldo/datatable bundle before and rendered the datatable with a subrequest.

Thanks in advance!

github-actions[bot] commented 9 months ago

Stale issue message