mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
📝 Add instruction for one column without width left in fixed table
This commit is contained in:
parent
95660c4fac
commit
3ca6a18546
@ -9,7 +9,7 @@ title:
|
||||
|
||||
适合同时展示有大量数据和数据列。
|
||||
|
||||
> 若列头与内容不对齐或出现列重复,请指定列的宽度 `width`。
|
||||
> 若列头与内容不对齐或出现列重复,请指定**固定列**的宽度 `width`。
|
||||
>
|
||||
> 建议指定 `scroll.x` 为大于表格宽度的固定值或百分比。注意,且非固定列宽度之和不要超过 `scroll.x`。
|
||||
|
||||
@ -17,7 +17,7 @@ title:
|
||||
|
||||
A Solution for displaying large amounts of data with long columns.
|
||||
|
||||
> Specify the width of columns if header and cell do not align properly.
|
||||
> Specify the width of columns if header and cell do not align properly. (Leave one column at least without width to fit fluid layout)
|
||||
>
|
||||
> A fixed value which is greater than table width for `scroll.x` is recommended. The sum of unfixed columns should not greater than `scroll.x`.
|
||||
|
||||
|
@ -9,7 +9,7 @@ title:
|
||||
|
||||
对于列数很多的数据,可以固定前后的列,横向滚动查看其它数据,需要和 `scroll.x` 配合使用。
|
||||
|
||||
> 若列头与内容不对齐或出现列重复,请指定列的宽度 `width`。
|
||||
> 若列头与内容不对齐或出现列重复,请指定**固定列**的宽度 `width`。
|
||||
>
|
||||
> 建议指定 `scroll.x` 为大于表格宽度的固定值或百分比。注意,且非固定列宽度之和不要超过 `scroll.x`。
|
||||
|
||||
@ -17,7 +17,7 @@ title:
|
||||
|
||||
To fix some columns and scroll inside other columns, and you must set `scroll.x` meanwhile.
|
||||
|
||||
> Specify the width of columns if header and cell do not align properly.
|
||||
> Specify the width of columns if header and cell do not align properly. (Leave one column at least without width to fit fluid layout)
|
||||
>
|
||||
> A fixed value which is greater than table width for `scroll.x` is recommended. The sum of unfixed columns should not greater than `scroll.x`.
|
||||
|
||||
|
@ -9,13 +9,13 @@ title:
|
||||
|
||||
方便一页内展示大量数据。
|
||||
|
||||
需要指定 column 的 `width` 属性,否则列头和内容可能不对齐。
|
||||
需要指定 column 的 `width` 属性,否则列头和内容可能不对齐。(建议留一列不设宽度以适应弹性布局)
|
||||
|
||||
## en-US
|
||||
|
||||
Display large amounts of data in scrollable view.
|
||||
|
||||
> Specify the width of each column if header and cell do not align properly.
|
||||
> Specify width of columns if header and cell do not align properly. (Leave one column at least without width to fit fluid layout)
|
||||
|
||||
````jsx
|
||||
import { Table } from 'antd';
|
||||
|
Loading…
Reference in New Issue
Block a user