thanks for your help in advance.
The problem that I am trying to solve is to create a table with react-table v7 and within that table using the expand and display another table with data related to the first selection as it is attached in the image.
This is the codesandbox example of the image, I want to do the same but using the most updated version of react-table, I tried with subcomponents but these only show me the data, not the headers that they have, therefore I cannot do the ordering, searches within the sub table
I have tried to render just another instance of react table inside the subcomponent but it looks like this it always stays in the first column:
Does anyone have an example that looks like the one in the reference image that can help me?