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 --- .../thirdparty/zTree/api/en/treeNode.isParent.html | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 common/src/main/webapp/thirdparty/zTree/api/en/treeNode.isParent.html (limited to 'common/src/main/webapp/thirdparty/zTree/api/en/treeNode.isParent.html') diff --git a/common/src/main/webapp/thirdparty/zTree/api/en/treeNode.isParent.html b/common/src/main/webapp/thirdparty/zTree/api/en/treeNode.isParent.html new file mode 100755 index 00000000..dad4b819 --- /dev/null +++ b/common/src/main/webapp/thirdparty/zTree/api/en/treeNode.isParent.html @@ -0,0 +1,28 @@ +
+
+

BooleantreeNode.isParent

+

Overview[ depends on jquery.ztree.core js ]

+
+

+
+

Judge whether the node is the parent node.

+

1. When zTree initialize the node data, the node which has children is set to true, otherwise false.

+

2. When zTree initialize the node data, if set treeNode.isParent to true, the node will be set to be parent node.

+

3. In order to solve the problem of someone make json data, supporting "false", "true" format of the data string.

+
+
+

Boolean Format

+
+

true means: the node is parent node.

+

false means: the node is not parent node.

+
+

Examples of treeNode

+

1. Judge whether the first selected node is the parent node.

+
var treeObj = $.fn.zTree.getZTreeObj("tree");
+var sNodes = treeObj.getSelectedNodes();
+if (sNodes.length > 0) {
+	var isParent = sNodes[0].isParent;
+}
+
+
+
\ No newline at end of file -- cgit 1.2.3-korg