© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
3 replies
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
Screenshot_2024-11-07_at_17.57.42.png
Screenshot_2024-11-07_at_17.58.28.png
Solution
Hi !

use a
renderHook
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à
Screenshot_20241107_172943.png
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Move Searchbar to Sidebar
FilamentFFilament / ❓┊help
2y ago
add action to group header table
FilamentFFilament / ❓┊help
10mo ago
Move Table filter indicators to header toolbar
FilamentFFilament / ❓┊help
3y ago
Create table header action question...
FilamentFFilament / ❓┊help
3y ago