F
Filament2w ago
bas

move table header action next to searchbar

Hi, I would like to display a headerAction inline with the table seachbar and the filters button. I don't want to publish assets just for this small tweak but I can't find anything in the documentation. So far my only solution was to rearange the elements with JS but this breaks some click references for that action. Any ideas are welcome First images is how I want it to look and second one is default one
No description
No description
Solution:
Hi ! use a renderHook ! Especially the TableRenderHook like so: In you PanelProvider:...
No description
Jump to solution
2 Replies
Solution
JibayMcs
JibayMcs2w ago
Hi ! use a renderHook ! Especially the TableRenderHook like so: In you PanelProvider:
->renderHook(TablesRenderHook::TOOLBAR_END, fn() => Blade::render('<x-filament::button>Hello !</x-filament::button>'))
->renderHook(TablesRenderHook::TOOLBAR_END, fn() => Blade::render('<x-filament::button>Hello !</x-filament::button>'))
And voilà
No description
bas
basOP2w ago
Awesome thanks, I forgot about render hooks
Want results from more Discord servers?
Add your server