Skip to content
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

希望a-table的树形数据展示能支持懒加载 #79

Closed
1 task done
seepine opened this issue Nov 4, 2021 · 4 comments · Fixed by #485
Closed
1 task done

希望a-table的树形数据展示能支持懒加载 #79

seepine opened this issue Nov 4, 2021 · 4 comments · Fixed by #485
Assignees
Labels
type: feature request New feature or request
Milestone

Comments

@seepine
Copy link
Contributor

seepine commented Nov 4, 2021

Basic Info

What are the similar cases of this feature

可以参考一下elementPlus这种
https://element-plus.gitee.io/zh-CN/component/table.html#%E6%A0%91%E5%BD%A2%E6%95%B0%E6%8D%AE%E4%B8%8E%E6%87%92%E5%8A%A0%E8%BD%BD

What problem does this feature solve?

一般表格用于展示分页数据量大的场景,这种情况有可能出现需要树形展示,而且可能会有无数层,希望能够支持懒加载,达到想查看某节点时才去后端获取对应节点的数据

@seepine
Copy link
Contributor Author

seepine commented Nov 4, 2021

并且最好能够自定义tableData的key的值,一般数据库设计是不可能有key这个字段的,现在变成了获取到分页数据后,还得遍历一次赋值上key的值(否则会有问题,比如点击第一行的展开,所有行都会展开)

@kirazxyun
Copy link
Member

收到~

  1. tree 格式的 table 正在设计,功能会对齐 react 组件库。
  2. key 的问题会优先添加。

@kirazxyun kirazxyun added type: enhancement feature enhancement type: feature request New feature or request labels Nov 5, 2021
@seepine
Copy link
Contributor Author

seepine commented Nov 5, 2021

@kirazxyun 关于表格自定义渲染a-table-column不能通过v-for渲染的问题能否先解决并发新版呢,这个问题很影响开发效率

@flsion
Copy link
Member

flsion commented Nov 5, 2021

@seepine 今天的版本会解决这个问题

@flsion flsion added status: ⌛️ future This will be added in the future and removed type: feature request New feature or request status: ⌛️ future This will be added in the future labels Nov 26, 2021
@flsion flsion added this to the 2.10.0 milestone Dec 1, 2021
@flsion flsion removed this from the 2.10.0 milestone Dec 10, 2021
@flsion flsion added type: feature request New feature or request and removed type: enhancement feature enhancement labels Dec 23, 2021
@flsion flsion added this to the 2.13.0 milestone Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants