How to render a table builder in a public route, but append and prepend a bunch of other information
Created 6 years ago by edsterWhat is the best way to do this? Should I be using $table->render
and configure a setting I am unaware of to customize the whole surrounding views?
Or should I create a view that would load up the table where I want it with twig like you can do with a form?
If that is the better way, how would I do that?
Thanks!
Simlar to the form builder - after the
make
stage you can get the content out of it. So if you have $table->make(); in your controller - just pass it along to the view and get the content out:There is no table() function which wouldn't be a bad idea. Ima make an issue for it.