© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•10mo ago
EleventhTower

Hide Column Based on Active Group?

What is the easiest way to achieve something like this:
Tables\Columns\TextColumn::make('affiliate_name')
    ->label('Affiliate')
    ->hidden(fn() => $table->getActiveGroup() === 'affiliate_name')
Tables\Columns\TextColumn::make('affiliate_name')
    ->label('Affiliate')
    ->hidden(fn() => $table->getActiveGroup() === 'affiliate_name')
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How to hide/show table column based on the active tab?
FilamentFFilament / ❓┊help
2y ago
Hide a Column based on getTabs() selection
FilamentFFilament / ❓┊help
12mo ago
Hide table column based on value of another column
FilamentFFilament / ❓┊help
11mo ago
Show/hide column depend on grouping
FilamentFFilament / ❓┊help
3y ago