© 2026 Hedgehog Software, LLC

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

Hide a table column if its in a relation manager.

How would I go about it in Filament v4? So I have ProductResource and ProductItem Resource. I have a relation manager for ProductItems in ProductView page, but since its using the same table from ProductItem, its also showing the columns of the parent (Product), which can already be seen on top on the view page, hence making it redundant.
Solution
Found it.
->hidden(fn ($livewire) => $livewire::class === ConsumersRelationManager::class)
->hidden(fn ($livewire) => $livewire::class === ConsumersRelationManager::class)
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 edit button in relation manager table
FilamentFFilament / ❓┊help
2y ago
Relation Manager Hide If No Results
FilamentFFilament / ❓┊help
9mo ago
Relation manager (Hide Table data from table record)
FilamentFFilament / ❓┊help
3y ago
Table in Relation Manager
FilamentFFilament / ❓┊help
2y ago