How to add nodes in DevExpress TreeList programmatically?

34,539

Please, take a look at documentation: How to: Create Nodes in Unbound Mode in Code

Related link: Unbound Mode

Share:
34,539
AndroidLearner
Author by

AndroidLearner

I love to learn new things and share things with others

Updated on September 07, 2020

Comments

  • AndroidLearner
    AndroidLearner over 3 years

    I want to add node at specific index in DevExpress TreeList. I have seen post#1 and post#2 but unable to get what I need. I only want code that takes the parent node number/id and add child node to it.

    I found this function, and i think it will work

    treelist.AppendNode(object nodeinfo, int parentID);
    

    How to give this node info?