From 21d72c4a80fe2937d0c4ddd20624b27adbcd989b Mon Sep 17 00:00:00 2001 From: lizi00164331 Date: Mon, 7 Aug 2017 11:39:39 +0800 Subject: Upload the ESR GUI seed code Issue-ID: AAI-68 Change-Id: Ia50ce0570c2fabecd77199d4e8454f56fe587c4e Signed-off-by: lizi00164331 --- .../zTree/api/cn/treeNode.parentTId.html | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 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 100644 index 0000000..d228a23 --- /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