Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Adding nodes manually

$
0
0
Hello,

While new nodes cannot be added to the OrgChart on the client here's how you can add on the server a Node containing a single Group Item to an existing Node (accessed by index):
var newNode = new OrgChartNode();
newNode.GroupItems.Add(new OrgChartGroupItem() { Text = "NewItem" });
RadOrgChart1.Nodes[0].Nodes.Add(newNode);

Regards,
Ivan Danchev
Telerik
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? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>