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 width expandedRowRender render error #4507

Closed
1 task done
maicWorkGithub opened this issue Aug 12, 2021 · 5 comments
Closed
1 task done

Table width expandedRowRender render error #4507

maicWorkGithub opened this issue Aug 12, 2021 · 5 comments
Labels

Comments

@maicWorkGithub
Copy link

maicWorkGithub commented Aug 12, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.5

Environment

Windows 10 latest; Chrome latest;

Reproduction link

Edit on CodeSandbox

Steps to reproduce

click button "update table data"

What is expected?

update table data and layout correctly

What is actually happening?

layout changed weird

@chsword
Copy link
Contributor

chsword commented Aug 12, 2021

+1

1 similar comment
@qinjiahui01
Copy link

+1

@tangjinzhou
Copy link
Member

update to 2.2.6

@an-liyang
Copy link

a-table 中{scroll-x:true}宽度不给scroll-y也不给。能够完全适配。我现在scroll-y:500,每一列都需要给宽度,而且我设置了.ant-table td { white-space: nowrap; }需要一行展示,那么每一列宽度文案最大宽度不订,即时设置了定宽,很多时候内容直接覆盖了。实际场景是需要限定高度但不想设置每一列的宽度,20列宽度最终还需要和x保持差不多太恶心了,如果不设置高度每页展示60条数据,整个表格又太长了,而且页码切换无法触发scrollToFirstRowOnChange。能不能设置scroll-y:500的时候不需要知道列宽自动匹配每列最大宽度,如果设置了某一列宽度就为定宽适配。或者有什么其他的解决方案。

@github-actions
Copy link

github-actions bot commented Sep 1, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants