Browse Source

docs: update table docs (#7400)

Co-authored-by: 汤显文 <tang_xianwen@gov-info.cn>
pull/7514/head
Tang 7 months ago committed by GitHub
parent
commit
040af82eb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      components/table/index.en-US.md
  2. 2
      components/table/index.zh-CN.md

2
components/table/index.en-US.md

@ -116,7 +116,7 @@ Specify `dataSource` of Table as an array of data.
| Events Name | Description | Arguments | |
| --- | --- | --- | --- |
| change | Callback executed when pagination, filters or sorter is changed | Function(pagination, filters, sorter, { currentDataSource }) | |
| change | Callback executed when pagination, filters or sorter is changed | Function(pagination, filters, sorter, { action, currentDataSource }) | |
| expand | Callback executed when the row expand icon is clicked | Function(expanded, record) | |
| expandedRowsChange | Callback executed when the expanded rows change | Function(expandedRows) | |
| resizeColumn | Triggered when the column is dragged | Function(width, column) | |

2
components/table/index.zh-CN.md

@ -121,7 +121,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*Sv8XQ50NB40AAA
| 事件名称 | 说明 | 回调参数 |
| --- | --- | --- |
| change | 分页、排序、筛选变化时触发 | Function(pagination, filters, sorter, { currentDataSource }) |
| change | 分页、排序、筛选变化时触发 | Function(pagination, filters, sorter, { action, currentDataSource }) |
| expand | 点击展开图标时触发 | Function(expanded, record) |
| expandedRowsChange | 展开的行变化时触发 | Function(expandedRows) |
| resizeColumn | 拖动列时触发 | Function(width, column) |

Loading…
Cancel
Save