© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
eazy

Dispatch on table row click

I want to dispatch a event when a Table row is clicked.
->recordAction(fn () => $this->dispatch('openFillAction'))
->recordAction(fn () => $this->dispatch('openFillAction'))

I tried using the
recordAction
recordAction
but that doesn't seem to work. Is there another easy way I can do this?
Solution
Okay I fixed this 🥲 Its actually pretty easy but it took me so long somehow, maybe this function needs to be documented?

On your table you add:
->recordAction('sender')
->recordAction('sender')


And then in your livewire component you add:
    public function sender()
    {
        $this->dispatch('openFillAction');
    }
    public function sender()
    {
        $this->dispatch('openFillAction');
    }
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

Select row on table row click
FilamentFFilament / ❓┊help
2y ago
Action on click row table
FilamentFFilament / ❓┊help
2y ago
Clickable row on custom page table
FilamentFFilament / ❓┊help
3y ago
Opening a modal on table row click with infos
FilamentFFilament / ❓┊help
9mo ago