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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeViewAdv sorting

Thread ID:





11726 Mar 15,2004 12:57 AM UTC Mar 15,2004 07:07 PM UTC WinForms 3
Tags: Tools
Fake Name
Asked On March 15, 2004 12:57 AM UTC

I''m trying to sort a TreeViewAdv. I implemented IComparable on all of my Tags and set //We set a default order in BaseStyles. This needs to be changed for children of Feeds channelTree.StandardStyle.SortType = TreeNodeAdvSortType.Tag; channelTree.StandardStyle.SortOrder = SortOrder.Ascending; but nothing seems to happen (CompareTo never seems to get called, even). Thanks

Administrator [Syncfusion]
Replied On March 15, 2004 10:48 AM UTC

Hi Dan, You could use the code given below for this purpose : channelTree.StandardStyle.SortOrder = SortOrder.Ascending; channelTree.StandardStyle.SortType = TreeNodeAdvSortType.Tag; channelTree.StandardStyle.Sort(); Please take a look at the TreeViewAdvSorting demo sample in the directory ...\Syncfusion\Essential Suite\Tools\Samples\Tree Package\TreeViewAdvSorting which shows how this can be done. Let me know if you need further assistance. Regards, Guru Patwal Syncfusion, Inc.

Administrator [Syncfusion]
Replied On March 15, 2004 06:25 PM UTC

Thanks -- I thought it automatically kept things sorted. You might clarify this in Section of the manual.

Administrator [Syncfusion]
Replied On March 15, 2004 07:07 PM UTC

Hi Dan, Thanks for the update. I will convey your suggestion regarding documention to the development team. We appreciate your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon