-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can the sorting nodes behavior be deactivated or overwritten? #32
Comments
Currently, the sorting is based on text value (that is alphabetical order) not textlength. |
Delete .sort(function(t, e) { return (0, v.compareString)(t.data.text, e.data.text) }) in "index.js" or your own repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi David,
by default the D3 tree seems to sort the nodes based on textlength(?).
In some situations this behavior is not really usefull.
Can it be deactivated or overwritten within configuration of the component?
Best regards
Alex
The text was updated successfully, but these errors were encountered: