Skip to main content

dragCopy

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

dragCopy?: boolean;

Example

var source = new dhx.DataView("dataview-source", {dragMode: "source", dragCopy: true});var target = new dhx.DataView("dataview-target", {dragMode: "target", dragCopy: true});

Related sample: Dataview. Drag'n'drop Copy

note

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