I would like to use the TreeView control to represent an Org Chart. Question is, how do I represent the weird situation where a person reports to 2 people? Can I set up a TreeViewItem to have multiple nodes point at it?
1 Answer, 1 is accepted
answered on 09 Nov 2010, 10:10 AM
Hi Joel Palmer,
The RadTreeViewItem can have only one parent. So if you want to represent the situation where person reports to several people you may duplicate that person and set it as a child to every one that it reports to. Of course you may need to do some changes to your data model depending of the view point you want to represent. Meaning that when you want to list all people you should remove the duplications, but when you want to represent a hierarchical organizational chart you may need to duplicated some items.
Hope this helps. Please let us know if you need more help.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items