© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•14mo ago•
10 replies
Jap

Reverb in Filament Tables

Instead of polling, How can i trigger an event to reload a specific table of a resource to reload ? I tried to register a script in AppServiceProvider and im having difficulty in getting the table component then refresh the component at the script. Is there is a better way to do this? Thanks.
Solution
Got the solution instead of finding the table in the javascript i added listener in ListPage or any livewire component files for example:
class ListTransactions extends ListRecords
{
    protected static string $resource = TransactionResource::class;

    protected $listeners = [
        'echo:channel-name,EventName' => '$refresh',
    ];
}
class ListTransactions extends ListRecords
{
    protected static string $resource = TransactionResource::class;

    protected $listeners = [
        'echo:channel-name,EventName' => '$refresh',
    ];
}


Then you can dispatch/broadcast events in actions like:
use App\Events\EventName;
 Tables\Actions\RestoreAction::make()
                        ->after(function ($record) {
                            EventName::dispatch();
                        }),
use App\Events\EventName;
 Tables\Actions\RestoreAction::make()
                        ->after(function ($record) {
                            EventName::dispatch();
                        }),
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

Use Reverb With Filament
FilamentFFilament / ❓┊help
10mo ago
Accordion in filament tables
FilamentFFilament / ❓┊help
3y ago
Help with Reverb & Filament behind nginx
FilamentFFilament / ❓┊help
13mo ago
How to configure reverb with filament?
FilamentFFilament / ❓┊help
16mo ago