From fbbf467696810b7ca2ddac6de0d076af424a2ef0 Mon Sep 17 00:00:00 2001 From: shentao Date: Wed, 19 Apr 2017 18:24:26 +0800 Subject: integrated monitor and performance functions Issue-id: CLIENT-175 Change-Id: I07adc77afd9f62f615790896c9241f8430583398 Signed-off-by: shentao --- .../zTree/api/en/setting.callback.onDrag.html | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 common/src/main/webapp/thirdparty/zTree/api/en/setting.callback.onDrag.html (limited to 'common/src/main/webapp/thirdparty/zTree/api/en/setting.callback.onDrag.html') diff --git a/common/src/main/webapp/thirdparty/zTree/api/en/setting.callback.onDrag.html b/common/src/main/webapp/thirdparty/zTree/api/en/setting.callback.onDrag.html new file mode 100755 index 00000000..d178b635 --- /dev/null +++ b/common/src/main/webapp/thirdparty/zTree/api/en/setting.callback.onDrag.html @@ -0,0 +1,34 @@ +
+
+

Function(event, treeId, treeNodes)setting.callback.onDrag

+

Overview[ depends on jquery.ztree.exedit js ]

+
+

+
+

Used to capture the drag event when drag node.

+

If you set 'setting.callback.beforeDrag',and return false, zTree will stop drag, and will not trigger the 'onDragMove' & 'onDrag' callback.

+

Default: null

+
+
+

Function Parameter Descriptions

+
+

eventjs event Object

+

event Object

+

treeIdString

+

zTree unique identifier: treeId, the tree is what the treeNodes are belong to, easy for users to control.

+

treeNodesArray(JSON)

+

A collection of the nodes which will be dragged

+
+

Examples of setting & function

+

1. When drag nodes, alert the number of dragged nodes.

+
function zTreeOnDrag(event, treeId, treeNodes) {
+    alert(treeNodes.length);
+};
+var setting = {
+	callback: {
+		onDrag: zTreeOnDrag
+	}
+};
+......
+
+
\ No newline at end of file -- cgit 1.2.3-korg