TanStackT
TanStack4y ago
1 reply
skinny-azure

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.

Thx
Was this page helpful?