i have react table with sub table and when sub table's row click, modal comes up.
this is all working but all expander states erased when modal comes over.
because modal component is not inside of table, I think
I want to expander states remain when modal pops up, and even when modal closed( want to back to exact same expander state. but also can folded.
i used row clicked to expand row.
Can you help me to keep my expander information when modal comes over and closes?
/>
/>
Try this:
<ReactTable
...
collapseOnDataChange={false}
/>
you saved me !!
Most helpful comment
Try this: