T
TanStack7mo ago
ratty-blush

Lazy loading of row data

Ive got a table setup where certain API's take a long time to respond, and its aggregating data from multiple API's. I wanted to load the rows and then invidual cells afterwards, and something that is causing an issue here is it rerenders the entire table - resetting the pagination state to page 1. Part of the goal here was to be able to navigate while other cells lazy-loaded. Are there any examples/tips for handling this pattern? Edit: nvm... solution was:
const table = useReactTable({
autoResetPageIndex: false,
...
const table = useReactTable({
autoResetPageIndex: false,
...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?