You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Working with v6. https://codesandbox.io/s/946nw43014
I noticed on this codesandbox that when you expand a row, it continues to be expanded when you go into Page 2, 3, etc. because "expanded" is based on the rowInfo.viewIndex. I didn't want the second row to be expanded when moving to the second page since the second row on Page 2 is totally different data from Page 1. I tried changing viewIndex to index, which works fine on Page 1, but breaks when you try to expand on Page 2, etc. Is there an easy way to fix this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Working with v6.
https://codesandbox.io/s/946nw43014
I noticed on this codesandbox that when you expand a row, it continues to be expanded when you go into Page 2, 3, etc. because "expanded" is based on the rowInfo.viewIndex. I didn't want the second row to be expanded when moving to the second page since the second row on Page 2 is totally different data from Page 1. I tried changing viewIndex to index, which works fine on Page 1, but breaks when you try to expand on Page 2, etc. Is there an easy way to fix this?
Beta Was this translation helpful? Give feedback.
All reactions