Loading table
Infinite Data Table
A virtualized TanStack Table that loads pages as it scrolls or on Load more, with placeholder rows and retry.
DataTableInfinite calls onLoadMore when the last ten rows (threshold) scroll into view, or when Load more is pressed if mode is button. While loading, pageSize placeholder rows hold the new page’s place; an empty table loads its first page by itself, and scrolling never asks for the same page twice.
Setting error turns the last row into a message with Retry, and a status line counts the rows loaded, out of total when it’s known.