Tree Events
Events in View Designer
- onDrop
Assignment of the action to be executed when the user moves an entry or multiple entries in the tree by means of drag and drop.
Parameter Name
Type
Description
ID
STRING
CONTEXT_ELEMENT
IF_WD_CONTEXT_ELEMENT
DATA
STRING
Textual representation of data transported to DropTarget. Along with mimeType, this property forms a link to resources.
DATA is the value of the DragSourceInfo.data property of the UI element that was dropped onto the tree.
MIME_TYPE
STRING
Type of resource.
MIME_TYPE is the value of the DragSourceInfo.mimeType property of the UI element that was dropped onto the tree. If a URL, for example, is also specified under DATA, the exact type of the resource behind it can be provided here.
OFFSET
I
Position where the object is dropped:
- -1 means above the entry
- +1 means below the entry
- 0 means that the object is dropped on the row.
PATH
IF_WD_CONTEXT_ELEMENT
Path of the context element that corresponds to the instance of the UI element onto which something was dropped.
TAGS
STRING
This property corresponds to flavors in the programming environment. The flavor describes the type of drag and drop description. In a drag and drop operation, you can only drop an object onto another if both have at least one common TAGS.
- onExpandAll
Action executed when all the nodes of a tree are expanded.
Parameter Name
Type
Description
ID
STRING
CONTEXT_ELEMENT
IF_WD_CONTEXT_ELEMENT