Booleansetting.edit.drag.isMove

Overview[ depends on jquery.ztree.exedit js ]

When drag-drop node, set whether to allow to move 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 or Cmd-key can copy node, don't press Ctrl-Key or Cmd-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 move node.

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