Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
Sorting A Databound Tree With Valuelists
posted

Hi

 I have an UltraWinTree control that is bound to a bindingsource which is in turn bound to a dataset.  There are three tables in the dataset and they are related in such a wat as to display a hierarchy in the tree control.  All fields in the datatables are code fields and these values are represented using Valuelists to lookup the textual value.

 My problem is that i would like to sort the tree on the text from the valuelist and not on the code fields.  I have tried setting the "tree.override.sorted" property but this doesnt make any difference.

 How do i sort the tree nodes based on the nodes text?