© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
Shaung Bhone

Toggleable and Filter Tab

I am trying to make the relation of column visibility and filter tab in filament table. I have staff tab in ListRecord like that
 'staff' => Tab::make(trans('tab.staff'))
                ->modifyQueryUsing(fn (Builder $query)
                => $query->whereNotNull('staffID'))
                ->icon('heroicon-m-identification'),
 'staff' => Tab::make(trans('tab.staff'))
                ->modifyQueryUsing(fn (Builder $query)
                => $query->whereNotNull('staffID'))
                ->icon('heroicon-m-identification'),

When user click this tab I want to the staff coloumn in filament table. How can I?
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

[v3] Filter and Toggleable
FilamentFFilament / ❓┊help
3y ago
Table widget tab filter in Dashboard
FilamentFFilament / ❓┊help
2y ago
Default Active Tab Not Working for Tab Filter
FilamentFFilament / ❓┊help
3y ago