ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filamentโ€ข3y agoโ€ข
2 replies
wottavm

Is it possible to trigger JS on row click using table actions?

This is a real simple question where I could not find an answer to online. If this is possible it would be great to get an explanation on how to achieve this.
If this is not possible at all that is just as fine since I understand that we have an builtin modal. However my co-workers don't want to use those...

So yeah just wondering ๐Ÿ˜„
Solution
->extraAlpineAttributes(['x-on:click'=> 'yourJsFunction'])
->extraAlpineAttributes(['x-on:click'=> 'yourJsFunction'])
on the column?
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

Is it possible to change action on row click?
FilamentFFilament / โ“โ”Šhelp
3y ago
Select row on table row click
FilamentFFilament / โ“โ”Šhelp
2y ago
Action on click row table
FilamentFFilament / โ“โ”Šhelp
2y ago
Dispatch on table row click
FilamentFFilament / โ“โ”Šhelp
3y ago