From 21d72c4a80fe2937d0c4ddd20624b27adbcd989b Mon Sep 17 00:00:00 2001 From: lizi00164331
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.
+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.
+reloadType = "refresh" means: reload child nodes.
+reloadType != "refresh" means: append to load child nodes.
+Set whether to automatically expand the parent node, after load nodes.
+isSilent = true means: don't auto expand the parent node. Otherwise auto expand.
+no return value
+var treeObj = $.fn.zTree.getZTreeObj("tree");
+treeObj.reAsyncChildNodes(null, "refresh");
+
+ var treeObj = $.fn.zTree.getZTreeObj("tree");
+var nodes = treeObj.getSelectedNodes();
+if (nodes.length>0) {
+ treeObj.reAsyncChildNodes(nodes[0], "refresh");
+}
+
+