© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
3 replies
MZX

How to hide a column in a table using Filament Shield?

I have the roles set up, but i want to hide a specific column based on role
Solution
Figured it out

->visible(fn() => auth()->user()->hasRole('super_admin'))
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

hide column filament shield
FilamentFFilament / ❓┊help
13mo ago
hide a column in table builder
FilamentFFilament / ❓┊help
3y ago
Hide a table column if its in a relation manager.
FilamentFFilament / ❓┊help
5mo ago
How to hide a headeraction in a realtionmanager table
FilamentFFilament / ❓┊help
2y ago