FilamentF
Filament10mo ago
fpolli

Hide table column based on value of another column

How can I do this? In ->hidden(), I tried a closure passing the $record and accessing the attribute, and I tried passing Get and using $get('name'), but the first way passed null to the closure and the second told me "Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization"
Solution
hide a table column based on a form might be possible.. but you cant hide a column per record because a table holds multiple records.. thats impossible for any table
Was this page helpful?