Trying to change export action position with render hook

tried to use this code inside AppServiceProvider but did not worked. i know that i need to use which render hook name but did not understand how to find export action view thing, anyone have any idea about it ? I guess problem is about view name but could not find export action view name. FilamentView::registerRenderHook( TablesRenderHook::TOOLBAR_SEARCH_AFTER, fn(): View=> view('filament-actions::export.label'), );
2 Replies
hollydengesiz
hollydengesizOP2d ago
for example i tried this
No description
hollydengesiz
hollydengesizOP2d ago
FilamentView::registerRenderHook( 'tables::toolbar.search.after', fn(): string => ExportAction::make() ->exporter(RivalAnalysisExporter::class) ->render() ); i fixed with this approach
Want results from more Discord servers?
Add your server