I have a sorted(!) @tanstack-table v8 (aka react-table).
In each tr there is an onClick-Handler which gives me access to the current row-object.
So far so good.
But how do I get access to the next (or previous) row?
Sadly row.index isn't working as it doesn't reflect the sorting. There's no "sortedIndex" as far as I can see?