Functiondijit._tree.dndSource.onDndDrop

dojo.require("dijit._tree.dndSource");
defined in dijit/_tree/dndSource.js

Topic event processor for /dnd/drop, called to finish the DnD operation.. Updates data store items according to where node was dragged from and dropped to. The tree will then respond to those data store updates and redraw itself.

Usage

function (/*Object*/ source, /*Array*/ nodes, /*Boolean*/ copy) (view source)
parametertypedescription
sourceObjectthe source which provides items
nodesArraythe list of transferred items
copyBooleancopy items, if true, move items otherwise