How to add nodes in DevExpress TreeList programmatically?

AndroidLearner picture AndroidLearner · Sep 7, 2012 · Viewed 33.9k times · Source

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?

Answer

DmitryG picture DmitryG · Sep 7, 2012

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

Related link: Unbound Mode