Lazy loading for expandable rows
Hello everyone, great days for all, my question is: if we have any guide how to implement lazy loading for expandable row ? I am trying to implement to by this guide https://github.com/nafeu/react-query-table-sandbox/blob/main/src/ReactTableExpanding.jsx it work but it makes subRows in my clicked parent row and i doesnt see subRows in table , when i examine in console, by table.getRowModel().rows method, see my rows in image 1, in row 1, in subRows i have my data but in row 2 with id: 1.0 my subRows is empty, i implemented my render part like in image 2 and rest of code is same like by guide , if any body have any idea or guide => how to implement correct functionality of expandable lazy loading rows ? Thank you for advance !
GitHub
react-query-table-sandbox/src/ReactTableExpanding.jsx at main · naf...
Examples for combining React Query and React Table - nafeu/react-query-table-sandbox


0 Replies