ng-zorro-antd icon indicating copy to clipboard operation
ng-zorro-antd copied to clipboard

table custom Column(自定义列)nzScroll

Open tianying0923 opened this issue 11 months ago • 5 comments

What problem does this feature solve?

nz-table 标签增加nzScroll后导致列不自动计算位置。

What does the proposed API look like?

table custom Column(自定义列)nzScroll 官网效果图 image 增加nzScroll后效果图 image

tianying0923 avatar Mar 07 '24 07:03 tianying0923

Translation of this issue:

TABLE COSTOM COLUMN

What PROBLEM DOES This Feature Solve?

The NZ-Table label increases NZSCROLL and causes the column to not automatically calculate the position.

What does the proposed api look like?

TABLE COSTOM COLUMN ! [Image] (https://github.com/ng-zorro/ng-norro-Ntd/assets/29938449/741a62e6-4981-9CFD-DAEB8B23fe81))))))))

zorro-bot[bot] avatar Mar 07 '24 07:03 zorro-bot[bot]

这是哪个版本的,当前版本是正常的

OriginRing avatar Mar 08 '24 09:03 OriginRing

Also please provide a testable sample, this behavior usually occurs when table layout is no longer fluid, meaning all columns are given a fixed width... @tianying0923

ParsaArvanehPA avatar Mar 08 '24 11:03 ParsaArvanehPA

这是哪个版本的,当前版本是正常的

v16.2.2

tianying0923 avatar Mar 15 '24 07:03 tianying0923

Also please provide a testable sample, this behavior usually occurs when table layout is no longer fluid, meaning all columns are given a fixed width... @tianying0923

https://ng.ant.design/version/16.2.x/components/table/zh#components-table-demo-custom-column

<nz-table #basicTable [nzData]="listOfData" [nzCustomColumn]="customColumn"> change to <nz-table #basicTable [nzData]="listOfData" [nzCustomColumn]="customColumn" [nzScroll]="{x:'100%'}">

tianying0923 avatar Mar 15 '24 08:03 tianying0923