© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
22 replies
joao nivaldo

How to update Relation Manager table data

I need to create an action that when clicked it updates the relation manager table where this action is located. Which method should I call within the action to do this? Thanks
image.png
Solution
The action is on the relation manager itself? If so, action should dispath an event
Tables\Actions\Action::make('refresh')
    ->dispatchSelf('refreshComments'),
Tables\Actions\Action::make('refresh')
    ->dispatchSelf('refreshComments'),


and then you listen for this event on the relation manager class and refresh
#[On('refreshComments')]
public function refresh(): void
{}
#[On('refreshComments')]
public function refresh(): void
{}
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Relation manager (Hide Table data from table record)
FilamentFFilament / ❓┊help
3y ago
How to properly use table relation, pivot table, and relation manager
FilamentFFilament / ❓┊help
15mo ago
Relation Manager Table Header
FilamentFFilament / ❓┊help
2mo ago
Table in Relation Manager
FilamentFFilament / ❓┊help
2y ago