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
1770
Multilevel tree with databinding
posted

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