From 928ff2eb017b4cfe2a9d775688493fdcbed5c008 Mon Sep 17 00:00:00 2001 From: seshukm Date: Fri, 20 Jan 2017 17:46:34 +0530 Subject: Client code change form GSO-GUI to OPEN-O GUI code restructured for the OPEN-O CLient. Issue-Id : CLIENT-11 Change-Id: Ib2846320c5522ca373ba7b1c12e3caa9443e5ea1 Signed-off-by: seshukm --- .../zTree/api/cn/zTreeObj.getNodeByTId.html | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByTId.html (limited to 'portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByTId.html') diff --git a/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByTId.html b/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByTId.html new file mode 100644 index 00000000..5b631f2a --- /dev/null +++ b/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByTId.html @@ -0,0 +1,27 @@ +
+
+

Function(tId)zTreeObj.getNodeByTId

+

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

+
+

+
+

根据 zTree 的唯一标识 tId 快速获取节点 JSON 数据对象

+

通过内部的 cache 获取,不需要遍历节点。

+

请通过 zTree 对象执行此方法。

+
+
+

Function 参数说明

+
+

tIdString

+

节点在 zTree 内的唯一标识 tId

+

返回值JSON

+

tId 对应的节点 JSON 数据对象

+

如无结果,返回 null

+
+

function 举例

+

1. 获取 tId = "tree_10" 的节点数据

+
var treeObj = $.fn.zTree.getZTreeObj("tree");
+var node = treeObj.getNodeByTId("tree_10");
+
+
+
\ No newline at end of file -- cgit 1.2.3-korg