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

table跨行展示(无翻页/有翻页)解决方案 #38

Open
oliveying opened this issue Sep 11, 2023 · 0 comments
Open

table跨行展示(无翻页/有翻页)解决方案 #38

oliveying opened this issue Sep 11, 2023 · 0 comments

Comments

@oliveying
Copy link
Owner

1. table表格一对多

  • 如果有翻页,不能直接使用table原生的rowspan来合并表格,是因为,合并展示条数是不变的,在表格上展示,如果是10条翻页,antd里的table就会展示条数-合并的条数,给用户造成错觉,还有跨页的时候,会展示错乱
  • 无翻页,可以直接用table的rowspan 来实现跨行(没有问题)

2. demo样例

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant