TREE item type

Defines a tree view widget.

TREE item basics

A TREE form item type defines a treeview to show a structured tree of data records with an optional a set of columns.

Defining an TREE

The TREE form item defines tree view widget to show a structured set of data records, bound to a screen array.

Tree view definitions are very similar to regular TABLE elements; before reading further about tree views, you should be familiar with table elements.

The first column in the TREE must be the field defining the text of the tree-view nodes.

The screen array definition must have exactly the same number of columns as the TREE form item.

Some front-ends support different presentation and behavior options, which can be controlled by a STYLE attribute. For more details, see Common style attributes and Table style attributes.

Where to use a TREE

In a grid-based layout, a TREE form item can be defined in two different ways:
  1. As a TREE container in a LAYOUT tree.
  2. As a <TREE > layout tag with a TREE item definition in the ATTRIBUTES section.

TREE view programming

For more details about tree view programming, see Tree views.