
Now let continure and see how to deal with the Tree Control.
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”);
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.
| Cox on-demand ||| Verizon High Speed Internet ||| Comcast cable tv |
Recent Comments