How do I define the itemssource and NodeLayout when the number of children a node and have, and when a child and have children is not universal, an example
Reports To
Board of Directors
-Name 1
--Child
---Childs Child
-Name 2
-Name 3
--Chid
----Childs childs child
The levels can go on for several tiers depending on a setting
Hello,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thank you for your post. I have been looking into it and you can use the GlobalNodeLayouts collection and add the NodeLayouts for your data there. You can use self-reference data, which will allows you to define a single NodeLayout and using it, to show all levels of your data. Also, if your data is a collection of a given type that has a child collection from different type, you can define a NodeLayout for each different type of data, that your XamDataTree will have, in order to show all the available data. I have created a sample application for you, that shows both scenarios.
Please let me know if you need any further assistance on the matter.