Showing detail row if expanded
Hi all. I am using the getIsExpanded() function to render/not render a details row. (one details row per table row. In the cell of the name column, I use getToggleExpandedHandler() to toggle the expanded state, which then shows/hides the details row.
You can see it in the image below labelled as working.
However if I group on a column, that wont work. Expanding the grouped row, will show a details row before it is clicked. You can see this in the second image.
Is there are better way I could toggle this details row? I cant see a way to not expand that first row.
I'm using @tanstack/react-table: 8.10.7
Thanks,
You can see it in the image below labelled as working.
However if I group on a column, that wont work. Expanding the grouped row, will show a details row before it is clicked. You can see this in the second image.
Is there are better way I could toggle this details row? I cant see a way to not expand that first row.
I'm using @tanstack/react-table: 8.10.7
Thanks,

