-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
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
树形表格无法通过指定父级id以及子级id渲染表格,必须在返回的数据结构中指定children才可以加载树形表格 #1885
Labels
docs
文档或示例
Comments
treeTable树表的customName属性不是已经支持你的要求嘛。 |
提问时还是先到社区检索下,这个问题已经有回答了 ref:#1736 |
看了你发的链接地址,没有说明啥问题啊 |
已解决,需要使用简单数据模式才可以,文档写的很模糊 |
|
不好意思,理解错了。当时我做的时候以为isSimpleData只是 |
相互学习,刚开始有很多不懂的地方,慢慢积累 @hjingsuper |
关闭,因为这不是 BUG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
议题条件
议题类型
疑是 BUG
使用版本
2.9.9
问题描述
无法通过指定父级id以及子级id来渲染树形表格,必须在返回的数据结构中组装好对应的数据结构比如要指定children,特别麻烦,还得在后端重新计算再组装数据结构然后再返回前端,我记得之前是可以直接在前端中指定父级id以及子级id,layui会根据父子id自动渲染他们的层级关系
业务代码
截图补充
浏览器
Chrome83.0.4103.106
演示地址
No response
友好承诺
The text was updated successfully, but these errors were encountered: