ui.DragDrop.getOperation
Identify the type of operation on drop.
Syntax
getOperation()
RETURNS STRING
Usage
The getOperation()
method returns the type of the current drag &
drop operation ("copy
", "move
", or "none
").
Depending on the value returned by this method, the program can make the appropriate changes in
the data model. For example, after a row has been dropped into another list, the source list can
remove the original row if the operation was a "move
", but keeps the original row
if the operation was a "copy
".
The getOperation()
method is typically called in the
ON DRAG_FINISHED
block.