mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
Add cellInfo to onExpandedChange handler. (#1299)
This commit is contained in:
parent
969407254f
commit
afab8a34cc
0
src/hoc/README.md
Normal file
0
src/hoc/README.md
Normal file
@ -537,7 +537,7 @@ export default class ReactTable extends Methods(Lifecycle(Component)) {
|
||||
{
|
||||
expanded: newExpanded,
|
||||
},
|
||||
() => onExpandedChange && onExpandedChange(newExpanded, cellInfo.nestingPath, e)
|
||||
() => onExpandedChange && onExpandedChange(newExpanded, cellInfo.nestingPath, e, cellInfo)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user