Specifications
Chapter 338
Adding tree controls
Tree controls display data in a hierarchical format and let users expand and collapse nodes in the
tree. The
mm:treecontrol tag lets you create tree controls for any type of information; unlike the
database tree control described in “Adding a database tree control” on page 36, no association
with a database is required.The Dreamweaver Keyboard Shortcuts editor uses the tree control, as
shown in the following illustration:
Creating a tree control
The
MM:TREECONTROL tag creates a tree control and can use one or more additional tags to add
structure, as described in the following list:
• MM:TREECOLUMN is an empty, optional tag that defines a column in the tree control.
• MM:TREENODE is an optional tag that defines a node in the tree. It is a nonempty tag that can
contain only other
MM:TREENODE tags.
MM:TREECONTROL tags have the following attributes:
Attribute Name Description
name Name of the tree control
size Optional. Number of rows that show in the control; default is 5 rows
theControl Optional. If the number of nodes in theControl exceeds the value of the size
attribute, scrollbars appear
multiple Optional. Allows multiple selections; default is single-selection
style Optional. Style definition for height and width of tree control; if specified,
takes precedence over SIZE attribute
noheaders Optional. Specifies that the column headers should not display