Hidden Column on $record
I want to hide a column when $record->description is empty anyone has a idea how to? because i couldn't assignee $record to the hidden function
Just like in the tooltip
4 Replies
Table column visibility cannot be controlled based on row values; however, you can modify the row value using formatStateUsing to change the presentation.
https://filamentphp.com/docs/3.x/tables/columns/text/#custom-formatting
This doesn't work for a Icon Column correct?
No, but if you are using IconColumn you should do this, right?
https://filamentphp.com/docs/3.x/tables/columns/icon#overview
Ahh ty got it!