FilamentF
Filament3y ago
PANC

Filament Table column hidden with condition

I have this two columns:
TextColumn::make('column_one')
->sortable(),
TextColumn::make('column_two')
->sortable()
->searchable(),

If column_one equals to 1, then hide column_one and show column_two
If column_one different from 1, then hide column_two
Was this page helpful?