T
TanStack3y ago
manual-pink

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
1 Reply
cloudy-cyan
cloudy-cyan3y ago
table.getCoreModel().rows.length should give you the answer I think

Did you find this page helpful?