Tree Controls (Magic xpa 4.x)
You can use the Tree control to display a task data view in a data hierarchy, a tree structure with parent and child nodes that represent different levels of data.
The different data levels are displayed:
Root Value – The expression value used as the starting point for the runtime engine to build the data tree. The root value is displayed as the top node that connects to the next level of data. When there is no root value, there is no top record that connects to the next level of data. As a result, the runtime engine builds the data tree with the next level of data displayed as separate parent nodes.
Parent Node – A variable value representing a parent record in the task data view. The parent node cannot be defined from an expression.
Node – A variable value representing a child record in the task data view. The node cannot be defined from an expression.
The Tree control can only display records from a Main or Link Join table that are defined in a single database table.
|
Changing the class number from 0 to 1 causes the Tree control to be deleted.
|
The Tree control properties are listed by categories:
General
Details
Input
Appearance
Mobile
Parking
Navigation
The Tree control is not available in Web Client tasks.
Platform specific: The Tree control is not supported for mobile devices.
Limitations:
-
The Tree control does not currently support multi-marking, drag and drop, or a transparent background color.
-
The Tree control is not supported for Offline tasks.
-
A local data source cannot be used in a task that has a Tree control.
Generating a Data Tree
Tree Control Events
Adding or Deleting Nodes
Navigating in the Data Tree
Editing the Node Text
Refreshing the Data Tree
Tree Control Functions
Tree Control chapter in the Mastering Magic xpa guide