Expose page/pageSize to rows/cells (#581)

This commit is contained in:
Dylan Markow
2017-10-27 12:06:46 -06:00
committed by Tanner Linsley
parent 8cec156d13
commit e91bb91ea1
+2
View File
@@ -501,6 +501,8 @@ export default class ReactTable extends Methods(Lifecycle(Component)) {
row: row,
index: row[indexKey],
viewIndex: ++rowIndex,
pageSize: pageSize,
page: page,
level: path.length,
nestingPath: path.concat([i]),
aggregated: row[aggregatedKey],