mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 08:43:57 +08:00
7b86dd60b5
* docs: Table colSpan render -> onCell * Update components/table/demo/colspan-rowspan.md Signed-off-by: afc163 <afc163@gmail.com> --------- Signed-off-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com>
12 lines
436 B
Markdown
12 lines
436 B
Markdown
## zh-CN
|
|
|
|
表头只支持列合并,使用 column 里的 colSpan 进行设置。
|
|
|
|
表格支持行/列合并,当 `onCell` 里的单元格属性 `colSpan` 或者 `rowSpan` 设值为 0 时,设置的表格不会渲染。
|
|
|
|
## en-US
|
|
|
|
Table column title supports `colSpan` that set in `column`.
|
|
|
|
Table cell supports `colSpan` and `rowSpan` that set in onCell return object. When each of them is set to `0`, the cell will not be rendered.
|