docs(components): [table-v2] add row-expand event (#9979)

This commit is contained in:
btea 2022-10-01 12:18:49 +08:00 committed by GitHub
parent 91f1c63e6a
commit 30a5e52630
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,14 +342,15 @@ table-v2/manual-scroll
## TableV2 Events
| Name | Description | Parameters |
| -------------------- | --------------------------------------------- | ---------------------------------------- |
| column-sort | Invoked when column sorted | Object\<ColumnSortParam\> |
| expanded-rows-change | Invoked when expanded rows changed | `Array<KeyType>` |
| end-reached | Invoked when the end of the table is reached | - |
| scroll | Invoked after scrolled | Object\<[ScrollParams](#typings)\> |
| rows-rendered | Invoked when rows are rendered | Object\<[RowsRenderedParams](#typings)\> |
| row-event-handlers | A collection of handlers attached to each row | Object\<[RowEventHandlers](#typings)\> |
| Name | Description | Parameters |
| -------------------- | --------------------------------------------------------------------- | ---------------------------------------- |
| column-sort | Invoked when column sorted | Object\<ColumnSortParam\> |
| expanded-rows-change | Invoked when expanded rows changed | `Array<KeyType>` |
| end-reached | Invoked when the end of the table is reached | - |
| scroll | Invoked after scrolled | Object\<[ScrollParams](#typings)\> |
| rows-rendered | Invoked when rows are rendered | Object\<[RowsRenderedParams](#typings)\> |
| row-expand | Invoked when expand/collapse the tree node by clicking the arrow icon | Object\<[RowExpandParams](#typings)\> |
| row-event-handlers | A collection of handlers attached to each row | Object\<[RowEventHandlers](#typings)\> |
## TableV2 Methods