Hello. I would like to do something like this:
System Reports
SR1
SR11
SR12
SR13
SR134
SR1345
SR2
SR21
I've looked at this example (http://help.infragistics.com/Help/Doc/WPF/2012.1/CLR4.0/html/xamDataTree_xamDataTree_Data_Binding.html) on how to possibly achieve this. In that example Categories and Products is a separate class.
Does this mean I have to create a separate class for the top level SR1/SR2, SR13 because it will contain SR134 and SR134 because it will contain SR1345 and define how they connect together through IDs? Is there any example out there on how to construct a variable multlevel tree like this?
Thanks
Thanks for taking the time. I appreciate it.
Hello Kris,
I have attached a sample application that uses different classes to achieve the layout you have specified above. To help explain it more, I have named the classes Parent, FirstChild, SecondChild, and ThirdChild. Notice that Parent holds a collection of type FirstChild. FirstChild has a collection of type SecondChild, and so on. This is how the XamDataTree creates hierarchies. In the XAML you will need to define the node layouts as well to get the hierarchy to show.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewDeveloper Support Engineer IInfragistics Inc.www.infragistics.com/support