mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 15:39:45 +08:00
docs: Table colSpan render -> onCell (#47392)
* 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>
This commit is contained in:
parent
b12de1f2ab
commit
7b86dd60b5
@ -2,10 +2,10 @@
|
||||
|
||||
表头只支持列合并,使用 column 里的 colSpan 进行设置。
|
||||
|
||||
表格支持行/列合并,使用 render 里的单元格属性 colSpan 或者 rowSpan 设值为 0 时,设置的表格不会渲染。
|
||||
表格支持行/列合并,当 `onCell` 里的单元格属性 `colSpan` 或者 `rowSpan` 设值为 0 时,设置的表格不会渲染。
|
||||
|
||||
## en-US
|
||||
|
||||
Table column title supports `colSpan` that set in `column`.
|
||||
|
||||
Table cell supports `colSpan` and `rowSpan` that set in render return object. When each of them is set to `0`, the cell will not be rendered.
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user