2022 June Release

Control COOATTREDIT@1.1:CTRLTree Permanent link for this heading

This control is used to display the tree.

Example:
Click="return vapptree('<%sys_branchvalue%>','<%sys_objectview%>','<%sys_index%>')" ApplicationView="LocateExploreAppView"
In this case the JavaScript function for clicking on a node and the application view is defined.

COOATTREDIT@1.1:CTRLTree(
  string Click,
  object Action,
  object NodeAction,
  object ApplicationView,
  object ShareView,
  boolean GenericOpen,
  boolean HideRoot,
  SortMode SortMode,
  boolean IsCustom,
  boolean OpenAll,
  string SelectObjPath)

Name

Description

Click

Defines which JavaScript function should be called when clicking on a node.

Action

Reference of an action, which defines the action that should be used to fill the children dictionaries of the next node.

NodeAction

Reference of an action, which defines the action that should be used to fill the dictionary of the next node.

ApplicationView

Reference of an application view, which defines the nodes of the "Explore" tree.

ShareView

Defines the reference of a property, which is used to display a filtered tree. Each node is checked whether it is allowed in this view.

GenericOpen

Defines whether the tree nodes should be opened generic.

HideRoot

SortMode

Defines whether the sorting should be used (SORTMODE_DOWN or SORTMODE_UP). Use SORTMODE_NONE to turn the sort off.

IsCustom

OpenAll

SelectObjPath

Defines the path to the selected object. This string contains the object addresses of all objects from the root object to the selected object separated by "|".

Additional Information