Skip to main content

dragCopy

Optional. Defines that a row is copied to a target during drag-n-drop

dragCopy?: boolean;

Example

const source = new dhx.Grid("grid-source", {
columns: [
// columns config
],
dragMode: "source",
dragCopy: true
});

const target = new dhx.Grid("grid-target", {
columns: [
// columns config
],
dragMode: "target",
dragCopy: true
});

Related sample: Grid. Drag-n-drop copy