
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.
Note
You can only use this event in dynamic progamming. Therefore, create a DragSourceInfo and a DropTargetInfo, append these to the MatrixData, and set the event dynamically.
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.
Note that this property is not currently used; it is intended for future developments. End of the note. |
OFFSET |
I |
Position where the data is 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 description. |