Cannot filter out "null" value for attributes
Say I have data defined as such:
data = [
{ field1: 10, field2: 20 },
{ field1: 11 }
]
Then the pivot table's filter options for field2 are 20 and null. However, null doesn't filter out the second data entry; it is still displayed!
This is not the case if my second entry was instead defined as { field1: 11 , field2: null }
Any updates on this issues? I've encountered the same problem.
Id like to know if there are any updates here as well - im getting the same issue
Same only workaround I found is to have a logic which explicitly sets all values to "N/A" or null that are not present in some of the objects. For some reason this then works as filter option. This is the only major bug I see with this otherwise fantastic component.
Pedantically speaking, wouldn't this be undefined for the missing values, rather than null?
I just checked I set them to “N/A” not null or undefined. So technically it has a common string value which then works. To me this is a hack nonetheless.