zTree_v3 icon indicating copy to clipboard operation
zTree_v3 copied to clipboard

jQuery Tree Plugin

Results 68 zTree_v3 issues
Sort by recently updated
recently updated
newest added

场景: 三级联动表单,当一级tree节点点击时,根据选中一级节点treeId去发起请求,获取数据后,更新二、三级tree。 遇到的问题: 现在默认情况下是根据treeSetting.async.otherParams中的参数{id,root}去发起请求的,但是当我点击一级节点,主动更新treeSetting.async.otherParams中的参数并且同时使用reAsyncChildNode发起请求时,所请求的参数仍是上一个一级节点的treeId. 请问我该如何准确的根据当前一级节点的treeId去发起请求并且更新二三级的tree呢 如果您能在百忙中看到这个问题,恳请你解答一下,感激不尽!

有时候有些参数是需要请求的时候动态生成的,比如传入当前请求的时间戳,所以建议async.otherParam支持传入函数,在请求的时候,执行这个函数得到请求参数 目前倒是可以在beforeAsync去设置

当zTree数据是异步加载的,在调用zTree.addNodes(parentNode, [index], newNodes, isSilent)方法时的返回值可能是addNodes()方法的newNodes入参,而非 zTree 最终添加的节点数据集合。

vue3+ts中使用,项目启动会报错:Property 'zTree' does not exist on type 'JQuery,请问一下,怎么处理这个报错呢?

Other: - Support `setting.async.loadingIcon` for controlling to show or hide loading icons. - Remove `setting.async.{autoParam, otherParam, contentType, type, url, dataType, headers, xhrFields}`

Other: - Use scripts to build and minify JavaScript files - Ignore minified files, concatenated files, and dependencies - Generate comments of published date and version dynamically --- Use JQuery...

In the below image i highlighted some nodes in a black color box, we can't drop any node to that highlighted box. If the drop is possible we will show...

For example, Below data i have for tree view, I need to add class property value to each node var zNodes= [ {"id":1, "pId":0, "name":"test1", class="student"}, {"id":11, "pId":1, "name":"test11", class="teacher"},...

https://skr.sh/sAMuWUw7pSj ```javascript onDrop: function(event, treeId, treeNodes, targetNode, moveType) { console.log(treeNodes[0].getIndex()); }); ``` Got error `Uncaught TypeError: treeNodes[0].getIndex is not a function`