- The items in the third and fourth nodes form a table. To do tihs, the
first three items in both nodes must have the same length(ITEM-ALIGNMENT = CL_LIST_TREE_MODEL=>ALIGN_LEFT, ITEM-LENGTH = ...)You must then use a fixed font for these items (ITEM-FONT =CL_LIST_TREE_MODEL=>ITEM_FONT_FIXED).Selection
The items of a node can be selected individually. By clicking on thefolder or leaf symbol of a node, you select the entire node.
You can also set up the tree so that clicking on any part of a nodealways selects the entire node (by setting the ITEM_SELECTION parameterof the constructor to ' ').
Events
Events, as they occur, are displayed in the group box at the right-handside of the screen. You can trigger the following events in theprogram:
NODE_DOUBLE_CLICK
Double-click on a node. In the example, you must double-click thefolder or leaf symbol to do this. If you set ITEM_SELECTION to SPACE,the event is triggered when you double-click any part of the node.
ITEM_DOUBLE_CLICK
Double-click on an item in the tree. This event can only occur ifITEM_SELECTION = 'X'.