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

NDataTable设置虚拟滚动的情况下会渲染出colSpan的单元格 #3052

Closed
JoshZxux opened this issue Jun 6, 2022 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@JoshZxux
Copy link

JoshZxux commented Jun 6, 2022

TuSimple/naive-ui version (版本)

2.30.0

Vue version (Vue 版本)

3.2.36

Browser and its version (浏览器及其版本)

Microsoft Edge 版本 101.0.1210.53

System and its version (系统及其版本)

Windows 11

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/xu88zj

Reappearance steps (重现步骤)

1、设置virtual-scroll为true
2、设置某一列的colSpan
3、colSpan之后渲染了后面合并的单元格

Expected results (期望的结果)

colSpan合并的列不渲染

Actual results (实际的结果)

colSpan与虚拟滚动同时设置时 会渲染所有的列

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Jun 6, 2022
@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Jun 6, 2022
@07akioni
Copy link
Collaborator

07akioni commented Jun 6, 2022

data-table 目前不支持虚拟滚动 + rowSpan。

不过去掉 rowSpan 应该还是有一些 bug

@XieZongChen XieZongChen self-assigned this Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants