MatrixLayout Events
Use
-
onDrop
Assignment of the action to be executed when the user moves an entry or multiple entries in the MatrixLayout 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 the DropTarget. Along with mimeType, this property forms a link to resources.
DATA is the value of the DragSourceInfo.data property of the UI element dropped on the MatrixLayout.
INDEX
I
Entry count
This information is the number of the entry next to which data is dropped with Drag&Drop.
The index is 0 if the MatrixLayout is empty.
MIME_TYPE
STRING
Type of resource.
OFFSET
I
Position where the data is dropped:
-
-1 means über the entry
-
+1 means below the entry
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 description.
-