Setting proper row id
I'm using react-table and I've set row number using row.id/row.index and after sorting row numbers get's messed up. How can I deal with it?


2 Replies
national-gold•2y ago
Where you map thru your visible cells, include the index (second parameter of array.map)
Use that index instead.
absent-sapphireOP•2y ago
ty so much