mirror of
https://github.com/gosticks/react-table.git
synced 2026-08-12 13:00:26 +00:00
Expose page/pageSize to rows/cells (#581)
This commit is contained in:
committed by
Tanner Linsley
parent
8cec156d13
commit
e91bb91ea1
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user