© 2026 Hedgehog Software, LLC

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

How to set the default modal action when clicking a row

Is it possible to set the default action when clicking a row to
edit
edit
? I know this is possible by overwriting the
recordUrl()
recordUrl()
function of the table. That however always opens a new page. I want to utilize the modals that are being used when no recordUrl is passed.

Code:

Tables\Actions\ActionGroup::make([
    Tables\Actions\ViewAction::make(),
    Tables\Actions\EditAction::make()
        ->color('warning'),
    Tables\Actions\DissociateAction::make(),
    Tables\Actions\DeleteAction::make(),
]),
Tables\Actions\ActionGroup::make([
    Tables\Actions\ViewAction::make(),
    Tables\Actions\EditAction::make()
        ->color('warning'),
    Tables\Actions\DissociateAction::make(),
    Tables\Actions\DeleteAction::make(),
]),


Thanks :)
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

How to set the default action on table row click
FilamentFFilament / ❓┊help
12mo ago
clicking a table row opens the edit page. I would like to open the view-modal when clicking the row.
FilamentFFilament / ❓┊help
3y ago
Default clickable row action
FilamentFFilament / ❓┊help
3y ago
Make clicking on a table row open the ViewAction modal
FilamentFFilament / ❓┊help
2y ago