mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
feat: Table support expandable.columnWidth (#28249)
close https://github.com/ant-design/ant-design/issues/28147
This commit is contained in:
parent
5c9ec6c2d9
commit
50e8e7d9e1
@ -167,6 +167,7 @@ Properties for expandable.
|
||||
|
||||
| Property | Description | Type | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| columnWidth | Set the width of the expand column | string \| number | - | |
|
||||
| childrenColumnName | The column contains children to display | string | children |
|
||||
| defaultExpandAllRows | Expand all rows initially | boolean | false |
|
||||
| defaultExpandedRowKeys | Initial expanded row keys | string\[] | - |
|
||||
|
@ -174,6 +174,7 @@ const columns = [
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| --- | --- | --- | --- |
|
||||
| columnWidth | 自定义展开列宽度 | string \| number | - | |
|
||||
| childrenColumnName | 指定树形结构的列名 | string | children |
|
||||
| defaultExpandAllRows | 初始时,是否展开所有行 | boolean | false |
|
||||
| defaultExpandedRowKeys | 默认展开的行 | string\[] | - |
|
||||
|
@ -138,7 +138,7 @@
|
||||
"rc-slider": "~9.6.1",
|
||||
"rc-steps": "~4.1.0",
|
||||
"rc-switch": "~3.2.0",
|
||||
"rc-table": "~7.11.0",
|
||||
"rc-table": "~7.12.0",
|
||||
"rc-tabs": "~11.7.0",
|
||||
"rc-textarea": "~0.3.0",
|
||||
"rc-tooltip": "~5.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user