Browse Source

docs(table): complement params (#1486)

pull/1489/head
EmiyaYang 5 years ago committed by tangjinzhou
parent
commit
d757ac68e2
  1. 2
      components/table/index.en-US.md
  2. 2
      components/table/index.zh-CN.md

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

@ -71,7 +71,7 @@ const columns = [
| Events Name | Description | Arguments | | Events Name | Description | Arguments |
| --- | --- | --- | | --- | --- | --- |
| change | Callback executed when pagination, filters or sorter is changed | Function(pagination, filters, sorter) | | | change | Callback executed when pagination, filters or sorter is changed | Function(pagination, filters, sorter, { currentDataSource }) | |
| expand | Callback executed when the row expand icon is clicked | Function(expanded, record) | | | expand | Callback executed when the row expand icon is clicked | Function(expanded, record) | |
| expandedRowsChange | Callback executed when the expanded rows change | Function(expandedRows) | | | expandedRowsChange | Callback executed when the expanded rows change | Function(expandedRows) | |

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

@ -72,7 +72,7 @@ const columns = [
| 事件名称 | 说明 | 回调参数 | | 事件名称 | 说明 | 回调参数 |
| ------------------ | -------------------------- | ------------------------------------- | | ------------------ | -------------------------- | ------------------------------------- |
| expandedRowsChange | 展开的行变化时触发 | Function(expandedRows) | | expandedRowsChange | 展开的行变化时触发 | Function(expandedRows) |
| change | 分页、排序、筛选变化时触发 | Function(pagination, filters, sorter) | | change | 分页、排序、筛选变化时触发 | Function(pagination, filters, sorter, { currentDataSource }) |
| expand | 点击展开图标时触发 | Function(expanded, record) | | expand | 点击展开图标时触发 | Function(expanded, record) |
#### customRow 用法 #### customRow 用法

Loading…
Cancel
Save