From 6f01a8756fe38c0d6565c369005142adda4b9b57 Mon Sep 17 00:00:00 2001 From: “shentao” Date: Thu, 26 Jan 2017 16:19:00 +0800 Subject: rebuild GUI structure(only changed modules' name) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue-id : CLIENT-14 Change-Id: Ie4fa30f1a51393576fbdc68e12d810565cbf06eb Signed-off-by: “shentao” --- .../zTree/api/en/zTreeObj.updateNode.html | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.updateNode.html (limited to 'openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.updateNode.html') diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.updateNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.updateNode.html deleted file mode 100644 index e19d6007..00000000 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.updateNode.html +++ /dev/null @@ -1,37 +0,0 @@ -
-
-

Function(treeNode, checkTypeFlag)zTreeObj.updateNode

-

Overview[ depends on jquery.ztree.core js ]

-
-

-
-

Update node data. Primarily used to update the node's DOM.

-

1. Can update the attributes for display (e.g. 'name', 'target', 'url', 'icon', 'iconSkin', 'checked', 'nocheck'), do not update the other attributes. For example: If you need to expand the node, please use expandNode() method, do not modify the 'open' attribute.

-

2. Use updateNode() method of zTree can't trigger 'beforeCheck' or 'onCheck' callback function.

-

Please use zTree object to executing the method.

-
-
-

Function Parameter Descriptions

-
-

treeNodeJSON

-

JSON data object of the node which need to update.

-

Please ensure that this data object is an internal node data object in zTree.

-

checkTypeFlagBoolean

-

checkTypeFlag = true means: According to 'setting.check.chkboxType' attribute automatically check or uncheck the parent and child nodes.

-

checkTypeFlag = false means: only check or uncheck this node, don't affect its parent and child nodes.

-

This parameter is valid when 'setting.check.enable = true' and 'setting.check.chkStyle = "checkbox"'

-

Don't affect the parent and child nodes which 'nochecked' attribute is true.

-

Return none

-

no return value

-
-

Examples of function

-

1. Modify the first selected node's name, and update it.

-
var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getNodes();
-if (nodes.length>0) {
-	nodes[0].name = "test";
-	treeObj.updateNode(nodes[0]);
-}
-
-
-
\ No newline at end of file -- cgit 1.2.3-korg