How to get total size for table when paginated?
Hello,
Does anybody know how I can get the total row-count for a paginated table from the table object?
If i call:
table.getRowModel().rows.length
I get only the current pagesize length.
If I call
table.getTotalSize()
I get like an enourmous number that does not correspond with the datasize.
Cannot see anything in the documentation that is about total row-size.
Thx1 Reply
cloudy-cyan•3y ago
table.getCoreModel().rows.length
should give you the answer I think