Replies: 3 comments 6 replies
-
Any solution for this? |
Beta Was this translation helpful? Give feedback.
-
I've managed to do that with https://codesandbox.io/s/react-virtuoso-expandable-64tl3p?file=/App.js Note that you should store expanded state somewhere outside the row, since it's getting mounted & unmounted each time viewport reaches the row, so the state is getting lost. Also, slightly jumping might occur due to additional row render. |
Beta Was this translation helpful? Give feedback.
-
recently I worked on a same example , it include expanding of row as well as infinite scroll using MUI-Collapse, and its works for me for some pretty huge data. |
Beta Was this translation helpful? Give feedback.
-
Hi, I need to make rows in TableVirtuoso expandable, or in other words dynamically add/remove more rows when needed. Imagine a folder structure where you show all folders in a table and you can expand any folder to show files. The challenge here is that
itemContent
prop expects cells, not row(s), so I can't just pass a component in that renders something like below, where I'd show/hide file rows depending on user actionI'd appreciate any help/suggestions on how to best use TableVirtuoso for my case.
Beta Was this translation helpful? Give feedback.
All reactions