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 --- .../zTree/api/en/zTreeObj.reAsyncChildNodes.html | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 common/src/main/webapp/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html (limited to 'common/src/main/webapp/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html') diff --git a/common/src/main/webapp/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html b/common/src/main/webapp/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html new file mode 100644 index 0000000..63a0896 --- /dev/null +++ b/common/src/main/webapp/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html @@ -0,0 +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");
+}
+
+
+
\ No newline at end of file -- cgit 1.2.3-korg