zTree

Results 54 comments of zTree
trafficstars

你好,请下载最新版的 zTree setting.async.autoParam / otherParam 都支持 function 了,请测试一下, 如果没问题,请关闭 issue,谢谢。

@Shhuy 1. 检查你的 ztree 版本 2. 检查 setting 设置 3. 使用未压缩版本的 zTree js 文件进行调试 4. 看看不支持 function 是报的什么错误

please check the version of your zTree js file.

首先要说,都 2021年了,对于 input 来说,很多都是 blur 就直接取消编辑状态了。。。 当然,我也不能说你的要求不对,但目前的源码肯定无法支持,要么你直接修改 zTree 源码,要么你利用 beforeEditName 阻止 zTree 的编辑事件,然后你自己那边去实现一套修改名称的交互界面。

When you drag & drop the node to the border of the tree, zTree will be autoscroll. You don't need set some option.

多谢,的确是当时写api demo 的时候疏忽了

检查你的 item 数据,我怀疑这不是 zTree 内部的节点数据

首先请核实你使用的 zTree 版本是否与 API 中说明的 支持版本一致