You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.
sortValue is a great helper, but not enogh in my case. Please see https://jsfiddle.net/ntodorov/3zaw3hdr/
The gist of it - if you have a column with values like paragraph numbers:
just giving formated option does not cut it. Better to say I do not see it working with different dot levels that need to be compared. One could have 0 dots the other 5, meaning the comparator needs to compare level by level.
In my jsfiddle the issue is visible and my comparator there sorts perfectly, but I cannot attach it to the column. If you click on the title, it ignores the custom comparator of the collection and creates internal that sorts as a string and that's not the desired order.
Is it possible to expose a property for comparator?
Thanks,
Nik
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
sortValue is a great helper, but not enogh in my case. Please see https://jsfiddle.net/ntodorov/3zaw3hdr/
The gist of it - if you have a column with values like paragraph numbers:
just giving formated option does not cut it. Better to say I do not see it working with different dot levels that need to be compared. One could have 0 dots the other 5, meaning the comparator needs to compare level by level.
In my jsfiddle the issue is visible and my comparator there sorts perfectly, but I cannot attach it to the column. If you click on the title, it ignores the custom comparator of the collection and creates internal that sorts as a string and that's not the desired order.
Is it possible to expose a property for comparator?
Thanks,
Nik
The text was updated successfully, but these errors were encountered: