Add cellInfo to onExpandedChange handler. (#1299)

This commit is contained in:
mike391
2019-04-23 16:50:33 -06:00
committed by tannerlinsley
parent 969407254f
commit afab8a34cc
2 changed files with 1 additions and 1 deletions
View File
+1 -1
View 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)
)
}