You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ca10cce
Browse filesBrowse the repository at this point in the historyBrowse files
| expandable.forceRender | Boolean | false | Force render expanded row content before expansion. In virtual mode, only rows currently mounted by the virtual list are force-rendered; off-screen rows may still be unmounted |
| expandable.showExpandAll | Boolean | false | Show expand all icon in the expand column header when using `expandedRowRender`|
92
94
| expandable.onExpand | Function(expanded, record) || function to call when click expand icon |
95
+
| expandable.onExpandAll | Function(expanded) || function to call when click expand all icon |
93
96
| expandable.onExpandedRowsChange | Function(expandedRows) || function to call when the expanded rows change |
94
97
| expandable.fixed | String \| Boolean | - | this expand icon will be fixed when table scroll horizontally: true or `left` or `right` and `expandIconColumnIndex` need to stay first or last |
95
98
| rowKey | string or Function(record, index):string| 'key' | If rowKey is string, `record[rowKey]` will be used as key. If rowKey is function, the return value of `rowKey(record, index)` will be use as key. |
@@ -105,6 +108,7 @@ Then open `http://localhost:8000`.
105
108
| emptyText | React.Node or Function |`No Data`| Display text when data is empty |
106
109
| columns | Object[]|| The columns config of table, see table below |
107
110
| components | Object || Override table elements, see [#171](https://github.com/react-component/table/pull/171) for more details |
111
+
| components.ExpandIcon |`React.ComponentType<ExpandIconProps>`|| Customize both row and expand-all icons. Receives `type` (`row` or `all`), `prefixCls`, `expanded`, `expandable`, `onClick`, and `record` for rows only |
0 commit comments