statuscombo
Display a status icon for a single or multiple items from the DashBoard Tree View. When the status icon is clicked, a list of tree nodes is expanded; these nodes can be then clicked to open the editor for that node.
This is largely intended to be created by dragging/dropping items from the DashBoard Tree View or Advanced Tree View into a PanelBuilder CustomPanel document.
A hierarchy of <treeobject/> elements with the same attributes allows you to create combined status items.
Syntax
<statuscombo attributes>
<treeElement name="node-name" objectid="node-id"/>
<treeElement name="node-name" objectid="node-id"/>
. . .
</statuscombo>
Attributes
Attribute |
Values |
Restrictions |
Description |
objectid |
String |
Must be the node-ID of a node in DashBoard tree view |
The node-id of the element in the tree to display. If the object has children, they are automatically shown under the node. |
name |
String |
|
The display name of the item. |
Example
The node-id of a node in the Tree View may be obtained by right-clicking the node and selecting “View Connection Settings”.
Figure 81 – Connection Settings
The following code creates a statuscombo with 2 nodes:
<statuscombo grid="false" left="448" name="Favorite Cards" top="118">
<treeElement name="Slot 0: MFC-8322-N" objectid="10.1.9.36:5253<br>Slot 0<br>MFC-8322-N"/>
<treeElement name="Slot 5: SRA-8602" objectid="10.1.9.36:5253<br>Slot 5<br>SRA-8602"/>
</statuscombo>
The result appears in DashBoard as:
Figure 82 – statuscombo
When clicked, it expands as follows:
Figure 83 – statuscombo expanded
If the specified treenode has child nodes, it will appear as follows:
Figure 84 – statuscombo with child nodes