Tree
- Last UpdatedJul 10, 2024
- 5 minute read
Use Tree control to display data in a tree view representation from a data source in your form.
Note: This control is not supported in Work Tasks Pro App.
Properties
The properties for the control are grouped under the following tabs:
Basic
|
Property |
Description |
|---|---|
|
Name |
Name that identifies the control. This value is also used for the label of the control. |
|
XML Node |
XML node mapped to the control. Use this value to map a list to a form and a form to a workflow.
Note: |
|
Description |
Description for the control. |
|
Tooltip |
Message that appears when the pointer hovers over the control. |
|
Data Source |
Lookup data source used to populate the tree. To configure the lookup source
|
|
Node ID Column |
The column name of the column that contains IDs to identify every node used in the tree. |
|
Node Parent Column |
The column name of the column that contains IDs to identify parents of the nodes used in the tree. Note: If the node parent column is blank in the configuration, or if the parent ID specified does not correspond to any node in the tree, then that node is placed on the root of the tree. |
|
Node Label Column |
The column name of the column that contains text to label the nodes used in the tree. |
Appearance
|
Property |
Description |
|---|---|
|
Visible |
Show or hide the control.
|
|
Label Position |
Position of the label for the control.
Note: |
|
Label-Control Area |
Area occupied by the label and the control in percentage.
Note: |
|
Retain Space |
Reserve or remove space when the control is hidden.
|
|
Expand Nodes |
Expand or collapse the nodes of the tree by default when the tree loads.
|
Advanced
|
Property |
Description |
|---|---|
|
On Data Bound |
Run s script when data is bound to the control. For more information, see scripting guidelines for On Data Bound property. |
|
On Selection Change |
Run a script when selection of the record changes. For more information, see scripting guidelines for On Selection Change property. |
|
On Check Change |
Run a script when the state of the checkbox changes, that is when the checkbox is selected or cleared. For more information, see scripting guidelines for On Check Change property. |
|
ID |
Reference identification code for the control. This value is automatically generated and cannot be changed. |
|
Checkbox Behavior |
Allow or deny a user to select single or multiple records for the control.
|
|
Node Checked Column |
Column name for selecting the checkbox in the control. |
|
Inherit Checked State |
Allow or deny the system to automatically inherit the state of the parent checkbox for the child nodes when the checkbox of the parent node is selected or cleared.
|
Scripts
For information about using scripts, see scripting guidelines for Tree control