From f0b211f269df2b0bb10d5552d14aeb8991a750ed Mon Sep 17 00:00:00 2001 From: seshukm Date: Fri, 20 Jan 2017 17:43:08 +0530 Subject: GUI Code refactor GUI Code refactor for the sun release code. Issue-Id : CLIENT-11 Change-Id: I771cc25ff3c8ff7a4e939ce7baef7dd94a67974b Signed-off-by: seshukm --- .../zTree/api/en/zTreeObj.reAsyncChildNodes.html | 82 +++++++++++----------- 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html') diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html index 63a0896c..c6c44782 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html @@ -1,42 +1,42 @@ -
-
-

Function(parentNode, reloadType, isSilent)zTreeObj.reAsyncChildNodes

-

Overview[ depends on jquery.ztree.core js ]

-
-

-
-

Forced asynchronous loading child nodes of parent node. It is valid when [setting.async.enable = true]

-

You can use this method to reload child nodes.

-

Please use zTree object to executing the method.

-
-
-

Function Parameter Descriptions

-
-

parentNodeJSON

-

The parent node which will asynchronous loading child nodes.

-

1. If parentNode = null, it is same as reload root nodes.

-

2. If parentNode.isParent = false, don't load nodes.

-

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

-

reloadTypeString

-

reloadType = "refresh" means: reload child nodes.

-

reloadType != "refresh" means: append to load child nodes.

-

isSilentBoolean

-

Set whether to automatically expand the parent node, after load nodes.

-

isSilent = true means: don't auto expand the parent node. Otherwise auto expand.

-

Return none

-

no return value

-
-

Examples of function

-

1. reload root nodes

-
var treeObj = $.fn.zTree.getZTreeObj("tree");
-treeObj.reAsyncChildNodes(null, "refresh");
-
-

2. reload the first selected node's child nodes.

-
var treeObj = $.fn.zTree.getZTreeObj("tree");
-var nodes = treeObj.getSelectedNodes();
-if (nodes.length>0) {
-	treeObj.reAsyncChildNodes(nodes[0], "refresh");
-}
-
-
+
+
+

Function(parentNode, reloadType, isSilent)zTreeObj.reAsyncChildNodes

+

Overview[ depends on jquery.ztree.core js ]

+
+

+
+

Forced asynchronous loading child nodes of parent node. It is valid when [setting.async.enable = true]

+

You can use this method to reload child nodes.

+

Please use zTree object to executing the method.

+
+
+

Function Parameter Descriptions

+
+

parentNodeJSON

+

The parent node which will asynchronous loading child nodes.

+

1. If parentNode = null, it is same as reload root nodes.

+

2. If parentNode.isParent = false, don't load nodes.

+

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

+

reloadTypeString

+

reloadType = "refresh" means: reload child nodes.

+

reloadType != "refresh" means: append to load child nodes.

+

isSilentBoolean

+

Set whether to automatically expand the parent node, after load nodes.

+

isSilent = true means: don't auto expand the parent node. Otherwise auto expand.

+

Return none

+

no return value

+
+

Examples of function

+

1. reload root nodes

+
var treeObj = $.fn.zTree.getZTreeObj("tree");
+treeObj.reAsyncChildNodes(null, "refresh");
+
+

2. reload the first selected node's child nodes.

+
var treeObj = $.fn.zTree.getZTreeObj("tree");
+var nodes = treeObj.getSelectedNodes();
+if (nodes.length>0) {
+	treeObj.reAsyncChildNodes(nodes[0], "refresh");
+}
+
+
\ No newline at end of file -- cgit 1.2.3-korg