F
Filament4mo ago
Abi

Issue accessing `$record` within the `hidden()` method on TextColumn

The $record object when used on the closure of the hidden() method is null. Any reason why this would happen?
8 Replies
awcodes
awcodes4mo ago
Columns do not support hidden() it would break the table layout.
Dennis Koch
Dennis Koch4mo ago
They do. But not based on $record. Did you try searching the discord? This was answered numerous times already
Abi
Abi4mo ago
i tried, couldn't find an answer, going to try again since you are saying. I don't know if it has something to do with this
Abi
Abi4mo ago
No description
Dennis Koch
Dennis Koch4mo ago
When I search for $record column I find some answers. We just answered the question. What are you looking for?
Abi
Abi4mo ago
ok, I was trying add hidden to the search as well let me check
awcodes
awcodes4mo ago
I meant that they can’t be hidden on a per record / row instance. 😀
Abi
Abi4mo ago
based on this, going to try the disabled() function https://discord.com/channels/883083792112300104/1134855744022397010