dragCopy

defines that an item is copied to a target during drag-n-drop

boolean dragCopy;

Example

var treeSource = new dhx.Tree("tree-source", {dragMode: "source", dragCopy: true});
var treeTarget = new dhx.Tree("tree-target", {dragMode: "target", dragCopy: true});

Related samples

Details

Don't forget to enable drag-n-drop via the dragMode property to use dragCopy.

See also
Back to top