RadzenGridColumn check for null

Hello,

I would like to add a check if null on my Column to prevent exception when filtering.
How can I do that ? Is it possible to disable column filter if the property is null ?

Thanks

Null-conditional operator does the trick when accessing nullable properties. Check the official documentation.

1 Like

Ok thanks, I found a solution.
I iterate over my collection with a foreach expression , then I use a ternary expression like this:
Filterable="object.property is null ? false : true"