Issue Combining Virtualization with Expanding Sub-Rows in Material React Table #1308
Unanswered
HassanAtWecrunch
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
First of all, I’d like to express my admiration for this package—it’s incredibly flexible and thoughtfully designed
Recently, I implemented virtualization in one of my projects to handle a large dataset, using the example provided in your documentation: Infinite Scrolling Example. It worked flawlessly—thank you for this excellent guide!
However, my project also requires an expand-collapse functionality for rows. I attempted to combine the virtualization example with the Expanding Sub-Rows Guide. Unfortunately, I’ve encountered an issue where expanding a parent row does not display the sub-rows.
Problem: When I expand a parent row, the sub-rows don’t render correctly in the table.
Steps I Followed:
I used the infinite scrolling example to handle large datasets with virtualization.
I integrated the expanding sub-rows functionality as described in the guide.
Question: Could you please provide guidance on how to properly combine these two features? Are there any specific adjustments or best practices needed to make them work seamlessly together?
Thank you in advance for your help, and I’m happy to provide additional details or code snippets if needed.
This is what i have so far code wise:
Beta Was this translation helpful? Give feedback.
All reactions