Posted 18 March 2020, 10:05 pm ESTHello,
When I'm instantiating a new CollectionView and I want to sort the collection with nulls sorted first I set sortNullsFirst to true.
But if I want to change it back to false, the property doesn't change. I have to instantiate a new CollectionView with the same data or set the _nullsFirst property to false. Which I'd like to avoid.
Is it intended that the sortNullsFirst property is immutable after being set to true?
I would like to make use of the sortNullsFirst in the following way:
When we sort our collection in an Ascending direction, the null values would be at the top. When sorting in a Descending direction the null values would be at the bottom.
I'm subscribing to the sortingColumn event on the FlexGrid and changing the property based on the sort direction. But it's not working since sortNullsFirst can't be changed to false, once it's set to true.
Wijmo version: 5.20192.631
Angular verison: 8.2.12