dijit.tree.model.pasteItem
dojo.require("dijit._tree.model");
defined in dijit/_tree/model.js
Move or copy an item from one parent item to another. Used in drag & drop. If oldParentItem is specified and bCopy is false, childItem is removed from oldParentItem. If newParentItem is specified, childItem is attached to newParentItem.
Usage
function (childItem, oldParentItem, newParentItem, /*Boolean*/ bCopy) (view source)
parameter | type | description |
---|---|---|
childItem | ||
oldParentItem | ||
newParentItem | ||
bCopy | Boolean |