

Now let continure and see how to deal with the Tree Control.
Add a data item to a node
Notice that if you want make change on node, you need use the treeDataProvider property.
rptree.treeDataProvider.getTreeNodeAt(0).getTreeNodeAt(1).addTreeNoteAt(1,”A new Data Item”);
Change/Replace a data item
Here is something not consistant with the way to access control property.
rptree.getTreeNodeAt(0).setProperty(”label”,”A new Lable”);
You have to call setProperty method to change the label. But most common way is to directly assign data to a property.
Will do some advanced next time such as drag-drop action on tree, cell rendering, etc.
If you would like to make a comment, please fill out the form below.
Have you been able to get a working drag and drop tree running?
Seems like all the current ones have bugs eventually..would be interested in your go at it!