The DojoTree widget works with an array of DojoTreeNode
records to create trees.
Fields
- children
- Identifies the nodes that compose a tree. Points to a list of
DojoTreeNode records that define the tree nodes.
- showRoot
- Specifies whether to display the root note:
- Here, the showRoot property is set to
true:

- Here, the property is set to false:

- text
- The name of a top-level root node
Events
- onClick
- Specifies an event that occurs when the tree node is clicked
Functions
- addTreeNode
- Adds a tree node to the tree
- removeTreeNode
- Removes a tree node from the tree
- updateTreeNode
- Changes a tree node in the tree
Other supported fields and functions are described in the following
topics in the EGL Programmer’s Guide: “Rich UI widget fields” and
”Rich UI widget functions.”
Use of this widget requires the following statement:
import dojo.widgets.DojoTree;