pupudu / window-table

Windowing Table for React based on React Window
https://window-table.netlify.com/
170 stars 13 forks source link

Mantain color of selected row #38

Closed marizuccara closed 5 years ago

marizuccara commented 5 years ago

Hi! I'm storing in the state the index of selected row and I color it. But if I scroll the table, the rows are rerendered, so the color on the row disappear. How mantain the color of the selected row ?

marizuccara commented 5 years ago

Solved! Using current row as useRef