9 Replies
try:
Did the answer solve your issue?
I have the same issue
Tried with this code. Note - the External column does not exists. Worked in 2.x
@hainguyen8610 i solved it by setting a State. Since
External
does not exist it might be an issue if it is null
But it seems if we have null values the Column doesn't render at allThat's correct
Is this a desired behaviour? Because in my case i'd like to render a Icon or Badges if the value is null.
Tried with
->state(null)
and ->default(null)
but with the same outcome.
If desired: How could i let this render?I guess it is. I hit the same issue already. I think I mapped
null
state to some unused value like -1
@Dan Harrin Any reason we filter null
values in table columns? As sometimes it's desired to format null
as a placeholder or fallback icon?imagine this
maybe someone should add placeholderIcon() to the icon column where you can pass in an icon for the null state
Not sure. You expcet this to show an icon when the value is not null? I think this query should be formatted or at least cast to a bool inside
getStateUsing()
Hello, if it could helps, juste use default :
->default(false).
In my case :
Also works with column relationship exists π