Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add nodes in DevExpress TreeList programmatically?

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?

like image 449
AndroidLearner Avatar asked Sep 07 '12 04:09

AndroidLearner


1 Answers

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

Related link: Unbound Mode

like image 157
DmitryG Avatar answered Sep 18 '22 08:09

DmitryG