mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
docs: table doc childrenColumnName property type (#27329)
Co-authored-by: zhaiyuanhang <zhaiyuanhang@xylink.com>
This commit is contained in:
parent
9a368a59f1
commit
1ceaa3a87f
@ -167,7 +167,7 @@ Properties for expandable.
|
||||
|
||||
| Property | Description | Type | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| childrenColumnName | The column contains children to display | string\[] | children |
|
||||
| childrenColumnName | The column contains children to display | string | children |
|
||||
| defaultExpandAllRows | Expand all rows initially | boolean | false |
|
||||
| defaultExpandedRowKeys | Initial expanded row keys | string\[] | - |
|
||||
| expandedRowClassName | Expanded row's className | function(record, index, indent): string | - |
|
||||
|
@ -174,7 +174,7 @@ const columns = [
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| --- | --- | --- | --- |
|
||||
| childrenColumnName | 指定树形结构的列名 | string\[] | children |
|
||||
| childrenColumnName | 指定树形结构的列名 | string | children |
|
||||
| defaultExpandAllRows | 初始时,是否展开所有行 | boolean | false |
|
||||
| defaultExpandedRowKeys | 默认展开的行 | string\[] | - |
|
||||
| expandedRowClassName | 展开行的 className | function(record, index, indent): string | - |
|
||||
|
Loading…
Reference in New Issue
Block a user