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

Function(treeNode)zTreeObj.hideNode

+

概述[ 依赖 jquery.ztree.exhide 扩展 js ]

+
+

+
+

隐藏某个节点。

+

1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。

+

2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。

+

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

+
+
+

Function 参数说明

+
+

treeNodeJSON

+

指定被隐藏的节点 JSON 数据

+

请务必保证此节点数据对象 是 zTree 内部的数据对象

+

返回值

+

目前无任何返回值

+
+

function 举例

+

1. 隐藏根节点第一个节点

+
var treeObj = $.fn.zTree.getZTreeObj("tree");
+var nodes = treeObj.getNodes();
+treeObj.hideNode(nodes[0]);
+
+
+
\ No newline at end of file -- cgit 1.2.3-korg