Start of Content Area

Background documentation ItemListBox Events  Locate the document in its SAP Library structure

Events in View Designer

●      onDrop

Action which is executed if an entry in the ItemListBox is moved using Drag&Drop.

Parameter Name

Type

Description

ID

STRING

Standard parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard parameter

DATA

STRING

Textual representation of data transported to DropTarget. Along with mimeType, this property forms a link to resources.

INDEX

I

Entry count

This information is the number of the entry next to which data is dropped with Drag&Drop.

MIME_TYPE

STRING

Type of resource.

Note that this property is not currently used; it is intended for future developments.

OFFSET

I

Position where the data is dropped:

●      -1 means above 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.

●      onLeadSelect

Action performed when the entry in the ItemListBox is changed and multipleSelection is set to false.

Parameter Name

Type

Description

ID

STRING

Standard parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard parameter

INDEX

I

Index of the element in the ItemListBox This event parameter is counted from 1.

 

 

End of Content Area