-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Comments
+1 |
1 similar comment
+1 |
update to 2.2.6 |
a-table 中{scroll-x:true}宽度不给scroll-y也不给。能够完全适配。我现在scroll-y:500,每一列都需要给宽度,而且我设置了.ant-table td { white-space: nowrap; }需要一行展示,那么每一列宽度文案最大宽度不订,即时设置了定宽,很多时候内容直接覆盖了。实际场景是需要限定高度但不想设置每一列的宽度,20列宽度最终还需要和x保持差不多太恶心了,如果不设置高度每页展示60条数据,整个表格又太长了,而且页码切换无法触发scrollToFirstRowOnChange。能不能设置scroll-y:500的时候不需要知道列宽自动匹配每列最大宽度,如果设置了某一列宽度就为定宽适配。或者有什么其他的解决方案。 |
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. |
Version
2.2.5
Environment
Windows 10 latest; Chrome latest;
Reproduction link
Steps to reproduce
click button "update table data"
What is expected?
update table data and layout correctly
What is actually happening?
layout changed weird
The text was updated successfully, but these errors were encountered: