#How to add an Action to the table next to the search?
6 messages · Page 1 of 1 (latest)
you can use the render hook:
TablesRenderHook::TOOLBAR_SEARCH_AFTER
https://filamentphp.com/docs/3.x/support/render-hooks#table-builder-render-hooks
I'm a beginner but how/where can I use this?
in service provider or middleware
add
FilamentView::registerRenderHook(
PanelsRenderHook::BODY_START,
fn (): View => view('impersonation-banner'),
);
as it explained here:
https://filamentphp.com/docs/3.x/support/render-hooks#registering-render-hooks
Thank you