© 2026 Hedgehog Software, LLC

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

Conditional Table Row Actions

Hello,

I want to achieve a row based action in a table in one resource.

In the screenshot that I added I have a ContentTypeManagementResource which lists the content types basically.

I have a relation in ContentType model as "corp_id" which can be nullable, since there exists predefined ContentTypes.

I do not want some admin can delete these records, so for example I want to hide "edit" and "delete" action for those records, but show them if a record has corp_id

How can I achieve this?
Screenshot_2023-05-05_at_12.07.18.png
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

Chain table row actions
FilamentFFilament / ❓┊help
12mo ago
Conditional actions on table columns
FilamentFFilament / ❓┊help
11mo ago
Conditional Actions
FilamentFFilament / ❓┊help
3y ago
Defer the table row actions rendering?
FilamentFFilament / ❓┊help
11mo ago