How do we get the fields relationship value in visible?

in formatStateUsing we use $state, but using $record in visible, there is no relation value so we cannot use that. What's the approach to render an icon where there is a value in a relationship? company.id if it has one, render link to the company.
2 Replies
Dennis Koch
Dennis Koch2y ago
Isn't there a company_id column? Btw. it doesn't make sense to "hide" a column based on a record. Because that would break the table layout. Just switch the Icon depending on the state
toeknee
toekneeOP2y ago
Ok I'll use formatState, I was assuming visible would hide the column but render the container. makes sense!
Want results from more Discord servers?
Add your server