Open mapsandapps opened 7 years ago
To avoid it, I "clean" the data list of objects on loading, removing each property which have value null.
Here's same codepen reproducing the solution removing "null properties".
This applies to undefined and non-existent fields injected with Angular expressions. It would be nice if these rows moved to the end of the table regardless of direction. I have a large table with a lot of non-existent cells. Sorting by descending is pretty useless for this use case.
Null values sort as if they were the string "null" instead of being pushed to the top/bottom of the sort order.
Here's a codepen reproducing the issue.