mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
docs: update Table docs (#44772)
This commit is contained in:
parent
bfdc424a3d
commit
4f7655ce31
@ -140,6 +140,7 @@ Common props ref:[Common props](/docs/react/common-props)
|
||||
| onChange | Callback executed when pagination, filters or sorter is changed | function(pagination, filters, sorter, extra: { currentDataSource: \[], action: `paginate` \| `sort` \| `filter` }) | - | |
|
||||
| onHeaderRow | Set props on per header row | function(columns, index) | - | |
|
||||
| onRow | Set props on per row | function(record, index) | - | |
|
||||
| virtual | Support virtual list | boolean | - | 5.9.0 |
|
||||
|
||||
#### onRow usage
|
||||
|
||||
|
@ -141,6 +141,7 @@ const columns = [
|
||||
| onChange | 分页、排序、筛选变化时触发 | function(pagination, filters, sorter, extra: { currentDataSource: \[], action: `paginate` \| `sort` \| `filter` }) | - | |
|
||||
| onHeaderRow | 设置头部行属性 | function(columns, index) | - | |
|
||||
| onRow | 设置行属性 | function(record, index) | - | |
|
||||
| virtual | 支持虚拟列表 | boolean | - | 5.9.0 |
|
||||
|
||||
#### onRow 用法
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user