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

nz-table 列宽无法通过数据驱动 #5324

Closed
zmzimpl opened this issue May 22, 2020 · 2 comments · Fixed by #5437
Closed

nz-table 列宽无法通过数据驱动 #5324

zmzimpl opened this issue May 22, 2020 · 2 comments · Fixed by #5437

Comments

@zmzimpl
Copy link

zmzimpl commented May 22, 2020

Reproduction link

https://stackblitz.com/edit/angular-bgpd4o?embed=1&file=src/app/app.component.ts

Steps to reproduce

点击按钮,nzWidth 的宽度已更改,但实际上页面是没有效果的

What is expected?

列宽能够通过数据来驱动,或者提供一个方法,触发列宽的调整。

What is actually happening?

nzWidth改变但列宽没有变化

Environment Info
ng-zorro-antd 9.1.2
Browser Chrome

这个问题在7.5.X版本中是正常的,可以通过数据驱动,所以我想应该算是Bug?

@zorro-bot
Copy link

zorro-bot bot commented May 22, 2020

Translation of this issue:

nz-table column width can not be driven by the data

Reproduction link

[Https://stackblitz.com/edit/angular-bgpd4o?embed=1&file=src/app/app.component.ts](https://stackblitz.com/edit/angular-bgpd4o?embed=1&file=src/ app / app.component.ts)

Steps to reproduce

Click the button, nzWidth width has changed, but in fact the page has no effect

What is expected?

Column width can be driven by the data, or a method of triggering the column width adjustment.

What is actually happening?

nzWidth column width changing but no change

Environment Info
Ng-zorro-antd 9.1.2
Browser Chrome

The problem is in the 7.5.X versions of normal, can be driven by data, so I think it should be Bug?

@zmzimpl
Copy link
Author

zmzimpl commented May 27, 2020

请问近期是否有修复此问题的计划,如果没有,我可能需要将版本回滚到8的版本。。。

qiurenbo added a commit to qiurenbo/ng-zorro-antd that referenced this issue May 30, 2020
qiurenbo added a commit to qiurenbo/ng-zorro-antd that referenced this issue Jun 13, 2020
vthinkxie pushed a commit to vthinkxie/ng-zorro-antd that referenced this issue Jun 16, 2020
vthinkxie pushed a commit that referenced this issue Jun 16, 2020
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants