Adding Nodes

You can add nodes to a tree by calling the addChildNode method. The TreeView control and TreeNode object have an addChildNode method. This sample shows how to add nodes to a root node and to a child node.