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

StringtreeNode.parentTId

+

概述[ 依赖 jquery.ztree.core 核心 js ]

+
+

+
+

treeNode 节点的父节点唯一标识 tId。

+

1、v3.x 用 parentTId 替换了原先的 parentNode 属性,同时增加了 getParentNode 方法,以避免原先 parentNode 造成的 clone 死循环

+

2、初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

+
+
+

String 格式说明

+
+

zTree 内部生成的节点唯一标识,请参考 treeNode.tId 的说明

+

如果 treeNode 是根节点,则 parentTId = null

+
+

treeNode 举例

+

1. 查看当前被选中的节点的父节点 tId

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