Tree control

Use a tree control as a container for tree node and tree attribute controls to build dynamic, hierarchical tree structures with specific business objects that support hierarchical data. You can place a tree control within a dialog control or a tab control. You can place a tree node control into a tree control.

The Classifications application uses tree controls to construct classification hierarchies and the Users application uses tree controls to construct the security profile hierarchy

When you click What happens
Plus sign Expands the tree node without highlighting the corresponding node label. The plus sign becomes a minus sign. If you highlighted a node label prior to clicking a plus sign, it remains highlighted.
Minus sign Contracts the tree node and highlights the corresponding node label.
Dot sign (If node label is not selected) Highlights the node label and removes any existing highlights.
Dot sign (If node label is selected) No effect.
Node label (Next to a plus sign) Highlights the node label and removes any existing highlights. Highlighted node does not expand. window displays hierarchical levels below the highlighted node.
Node label (Next to a minus sign) Highlights the node label and removes any existing highlights. Highlighted node does not contract. window displays hierarchical levels below the highlighted node.
Node label (Next to a dot sign) Highlights the node label and removes any existing highlights. Highlighted node does not expand or contract. window displays any items or information related to the node label.

Properties

Attribute name Description

Control ID

Each control in a presentation is assigned a unique Control ID that is read-only.

Height

Enter a numeric value in this field that will increase or decrease the height of the image. If you change the default dimensions, the image can become distorted.

Width

Enter a numeric value in this field that will increase or decrease the width of the image. If you change the default dimensions, the image can become distorted.

Bean Class

You can specify the name of a data bean class to use when creating the data source for the control. If not defined and the control is creating a data source, the default psdi.webclient.system.DataBean class is used. Typically, you use this property to create custom event methods or to override the manner in which the data source obtains its MboSet.

Business Object

Specify the name of a MBO in this field to determine which MBO the control uses to show and process information. If a MBO is not specified, the control uses the data source of its parent control. When you set a MBO for this control a data source is created that can be referenced from other controls.

Relationship

If you specified a value in the Parent Data Source ID field, specify a value in this field that identifies the relationship between this control and the new data source. A relationship uses a WHERE clause to determine what to show and process from the data source. The control creates a datasource that is by default used by the child controls. You can search for relationship values in the Database Configuration > Relationships tab.

Use Data Source

Reserved for future use.

Order By

You can specify the order in which a SQL query fetches data for the data source for this control.



Feedback