var treeObj = $.fn.zTree.getZTreeObj("treeDemo");var node = treeObj.getNodeByParam("id", "370000");treeObj.selectNode(node);setting.callback.onClick = onClick;//要执行的方法function onClick() {......}
本文共 240 字,大约阅读时间需要 1 分钟。
var treeObj = $.fn.zTree.getZTreeObj("treeDemo");var node = treeObj.getNodeByParam("id", "370000");treeObj.selectNode(node);setting.callback.onClick = onClick;//要执行的方法function onClick() {......}
转载于:https://blog.51cto.com/lujinxiong/1837062