addDragDropListener (callback, scope)
addDragDropListener (callback, scope)
Registers the panel area as a drag drop target, and registers specified application function as a listener for drop operation.
The callback function signature should match:
function f(dragSource, data)
where
dragSource
is an
Ext.dd.DragSource
object and the
data
is a custom application object provided by the drag source UI control.
Parameters:
-
callback
: reference (not name) of the function to be called; -
scope
(object): (optional) callback scope object;