© 2026 Hedgehog Software, LLC

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

hide a column in table builder

I have a relation manager,
In relation manager I wanted to hide a column in table builder.

I try this

Tables\Columns\IconColumn::make('saml')
->boolean()
->trueIcon('heroicon-o-badge-check')
->falseIcon('heroicon-o-x-circle')
->hidden(fn($record) => dd($record->saml == 1)),

But it’s giving me an error
Attempt to read property "saml" on null
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

Is it possible to hide column names in Table Builder?
FilamentFFilament / ❓┊help
2y ago
Add action column in a default group - table builder
FilamentFFilament / ❓┊help
2y ago
Hide a table column if its in a relation manager.
FilamentFFilament / ❓┊help
5mo ago
Cannot show value from pivot table in table builder column?
FilamentFFilament / ❓┊help
3y ago