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

StringtreeNode.parentTId

+

Overview[ depends on jquery.ztree.core js ]

+
+

+
+

The unique identifier of node's parent node.

+

1. zTree v3.x using 'parentTId' replaced the original 'parentNode' attribute, and increased getParentNode () method, in order to avoid the original 'parentNode' cause the clone () method infinite loop.

+

2. Do not initialize or modify it, it is created by the zTree.

+
+
+

String Format

+
+

String object of node's parent node's tId. please see API about 'treeNode.tId'

+

If treeNode is root node, parentTId is null.

+
+

Examples of treeNode

+

1. Get the first selected node's parent node's 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