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
430
How do I reorder nodes in an UltraTree?
posted

I've got a class that looks like this:

public class GeneralStatusInfo 
{         
   
public List<string> List_BLNumber { get; set; } 
   
public List<POInfo> List_PONumbers { get; set; } 
   
public List<string> List_Pickup { get; set; } 
   
public List<string> List_Origin { get; set; } 
   
public List<string> List_Destination { get; set; } 
   
public List<string> List_NotifyName { get; set; } 
   
public List<AppmntInformation> List_Appointments { get; set; } 
} 

When I bind the data like this:

List<GeneralStatusInfo> statusBind = new List<GeneralStatusInfo>(); 
statusBind
.Add(status); 
utGeneralStatusInfo
.DataSource = statusBind; 
 
SetupTree(status); 

It puts my parent nodes in a different order:

 Appointment  
 P
/O Number  
 B
/L Number  
 
Origin  
 
Pickup  
 
Notify  
 
Payment 
 
Destination 

How do I reorder the nodes so they appear in the same order that I have them in my class?