Format state on empty column
I have table with width, height and length parameters.
When showing this in the table, I want to add a size column That shows width x height x length.
However, when one is null, I want to show
?
instead. When width is null, it doesn't hit the formatStateUsing method.
Is there a way to make a virtual column that is always resolved?3 Replies
Ohhh, I can use the default like this:
Or
->state()
instead of formatStateUsingNice! That's even cleaner.