Split::make([ TextColumn::make('status') ->badge() ->grow(false) ->toggleable(isToggledHiddenByDefault: true) ->label(__('Status')), TextColumn::make('created_at') ->toggleable(isToggledHiddenByDefault: true) ->sortable() ->toggledHiddenByDefault(true) // I know it's useless, just here for the example])->from('md'),
Split::make([ TextColumn::make('status') ->badge() ->grow(false) ->toggleable(isToggledHiddenByDefault: true) ->label(__('Status')), TextColumn::make('created_at') ->toggleable(isToggledHiddenByDefault: true) ->sortable() ->toggledHiddenByDefault(true) // I know it's useless, just here for the example])->from('md'),
However, the column is always visible. When I click on the on the checkbox to toggle its visibility, the only thing that changes is that the option disappears from the sorting dropdown.
If I remove the
Split::make()
Split::make()
part and only have the columns, it works as expected
Package filament/filament Package Version v3 Laravel Version v10 Livewire Version v3 PHP Version 8.1 Problem description Here is a video of a classic table toggleable() in filamentphp: Enregistreme...