We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to Sort SfTreeView Nodes?

Hello,

I am using a SfTreeView to show data that is coming from a server. This all works perfectly, but with every Update of the data, the Nodes are re-sorting themselves, following no scheme.
Is there a possibility to set the way the Nodes (and SubNodes) should be sorted (like alphabetically or a user-defined way) or do I just have to deal with this?

Regards,
Lea

1 Reply

GP Gnana Priya Namasivayam Syncfusion Team September 12, 2019 05:33 PM UTC

Hi Lee, 

Thanks for contacting Syncfusion support. 

We would like to inform that treeview does not have default method in source to sort the items. Do you add any custom sorting methods in sample level or do you request sorting support for treeview items. Can you please share more details and explain your application scenario in detail. If possible share the issue replicable video, so that we could understand your query better and provide you appropriate solution at our end. 

Regards, 
Gnana Priya N 


Loader.
Live Chat Icon For mobile
Up arrow icon