We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
功能请求
v2.9.8
treeTable组件在isSimpleData时,使用 id, pid 指明父子关系,root 节点的 pid 如果不是 null 则需要单独用rootPid指定值,这是完全没有必要的,因为根据 pid 找不到父节点的,都可以算作 root 节点,这样可以简化设置,提高容错能力。
treeTable.render({ elem: '', tree: { // treeTable 特定属性集 customName: {}, data: { rootPid: "0" }, // 用于设置根节点的 pid 属性值【没有必要】 view: {}, async: {}, callback: {} }, // 其他 table 属性 });
No response
通用
The text was updated successfully, but these errors were encountered:
虽然实现很简单,但 rootPid 可能有其他设计用途,所以暂时不会支持。
Sorry, something went wrong.
ref: #1912
No branches or pull requests
议题条件
议题类型
功能请求
使用版本
v2.9.8
问题描述
treeTable组件在isSimpleData时,使用 id, pid 指明父子关系,root 节点的 pid 如果不是 null 则需要单独用rootPid指定值,这是完全没有必要的,因为根据 pid 找不到父节点的,都可以算作 root 节点,这样可以简化设置,提高容错能力。
业务代码
截图补充
No response
浏览器
通用
演示地址
No response
友好承诺
The text was updated successfully, but these errors were encountered: