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

Function(treeNodes)zTreeObj.hideNodes

+

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

+
+

+
+

隐藏一批节点。

+

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

+

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

+

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

+
+
+

Function 参数说明

+
+

treeNodesArray(JSON)

+

指定被隐藏的节点 JSON 数据集合

+

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

+

返回值

+

目前无任何返回值

+
+

function 举例

+

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

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