ng-zorro-antd
ng-zorro-antd copied to clipboard
nzTable: nzWidth working wrong with colspan
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-3gn1dd?file=src/app/app.component.ts
Steps to reproduce
- Create a nz-table with 2 row of thead, using rowspan and colspan
- The last column using nzRight
- Set nzWidth for each
column in FIRST row, except the column using colspan - Set nzWidth for each
column in SECOND row - Set nzScroll "x" value by sum of all nzWidth value
What is expected?
The second row of thead must be set to expected size
What is actually happening?
In the second row of thead: the last column is wrong size and it biggest
Environment Info ng-zorro-antd 11.4.2 Browser Chromium 86.0.4240.198 // Edge 94.0.992.38 - Set nzWidth for each