Adding nodes manually

2 posts, 0 answers
  1. Al
    Al avatar
    203 posts
    Member since:
    Oct 2006

    Posted 04 Nov 2015 Link to this post


    Is it possible to add nodes on client and server manually outside of databinding? I mean like .nodes.add(new orgchartnode("abc"))

  2. Ivan Danchev
    Ivan Danchev avatar
    837 posts

    Posted 06 Nov 2015 Link to this post


    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" });

    Ivan Danchev
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top