Booleansetting.edit.drag.isCopy

Overview[ depends on jquery.ztree.exedit js ]

When drag-drop node, set whether to allow to copy node. It is valid when [setting.edit.enable = true]

Default: true

Rules Description

1. If isCopy = true and isMove = true, when drag-drop node, press Ctrl-Key can copy node, don't press Ctrl-Key can move node.

2. If isCopy = true and isMove = false, when drag-drop node, will copy node.

3. If isCopy = false and isMove = true, when drag-drop node, will move node.

4. If isCopy = false and isMove = false, so disable to drag-drop node.

Examples of setting

1. all of the drag-drop operation will copy node.

var setting = {
	edit: {
		enable: true,
		drag: {
			isCopy: true,
			isMove: false
		}
	}
};
......