DojoTreeNode widget

The DojoTreeNode record creates a tree node.

Fields

children
Defines the sub-elements of the node, encloses the sub-elements in brackets, and separates each DojoTreeNode record with a comma.
children = [ new DojoTreeNode { id = node_id, text = node_text },
             new DojoTreeNode { id = node_id, text = node_name }
           ]
id
The required identifier for this tree node
text
The name of the node

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.DojoTreeNode;