© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
LH

Change click action on the whole row in list view

As normal, when clicking on a row in the list view, it redirects you to the edit page for the record. How do I change this action to a custom one?

I want to do the action below, when clicking on a record row instead of redirecting to edit page.
Tables\Actions\Action::make('show_location')
->action(function ($record){
$record->delete();
})
->icon('carbon-location')
->requiresConfirmation()
->modalHeading('Delete Inactive Product')
->modalDescription('Are you sure you'd like to delete this inactive product? This cannot be undone.')
->modalSubmitActionLabel('Yes, delete it')
->modalContent(fn ($record): View => view('components.location-shelf', ['record' => $record])),
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

Disable view action when click on row
FilamentFFilament / ❓┊help
2y ago
relation manager change row click action
FilamentFFilament / ❓┊help
3y ago
Action on click row table
FilamentFFilament / ❓┊help
2y ago
Open view modal on table row click without `ViewAction` in `recordActions()`
FilamentFFilament / ❓┊help
7mo ago