mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
docs: The parameter is different from the actual (#44101)
This commit is contained in:
parent
59dd632fc3
commit
40febebe6e
@ -238,7 +238,7 @@ Properties for expandable.
|
|||||||
| indentSize | Indent size in pixels of tree data | number | 15 | |
|
| indentSize | Indent size in pixels of tree data | number | 15 | |
|
||||||
| rowExpandable | Enable row can be expandable | (record) => boolean | - | |
|
| rowExpandable | Enable row can be expandable | (record) => boolean | - | |
|
||||||
| showExpandColumn | Show expand column | boolean | true | 4.18.0 |
|
| showExpandColumn | Show expand column | boolean | true | 4.18.0 |
|
||||||
| onExpand | Callback executed when the row expand icon is clicked | function(expanded, record) | - | |
|
| onExpand | Callback executed when the row expand icon is clicked | function(record, event) | - | |
|
||||||
| onExpandedRowsChange | Callback executed when the expanded rows change | function(expandedRows) | - | |
|
| onExpandedRowsChange | Callback executed when the expanded rows change | function(expandedRows) | - | |
|
||||||
|
|
||||||
### rowSelection
|
### rowSelection
|
||||||
|
@ -240,7 +240,7 @@ const columns = [
|
|||||||
| indentSize | 展示树形数据时,每层缩进的宽度,以 px 为单位 | number | 15 | |
|
| indentSize | 展示树形数据时,每层缩进的宽度,以 px 为单位 | number | 15 | |
|
||||||
| rowExpandable | 设置是否允许行展开 | (record) => boolean | - | |
|
| rowExpandable | 设置是否允许行展开 | (record) => boolean | - | |
|
||||||
| showExpandColumn | 设置是否展示行展开列 | boolean | true | 4.18.0 |
|
| showExpandColumn | 设置是否展示行展开列 | boolean | true | 4.18.0 |
|
||||||
| onExpand | 点击展开图标时触发 | function(expanded, record) | - | |
|
| onExpand | 点击展开图标时触发 | function(record, event) | - | |
|
||||||
| onExpandedRowsChange | 展开的行变化时触发 | function(expandedRows) | - | |
|
| onExpandedRowsChange | 展开的行变化时触发 | function(expandedRows) | - | |
|
||||||
|
|
||||||
### rowSelection
|
### rowSelection
|
||||||
|
Loading…
Reference in New Issue
Block a user