pupudu / window-table

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

Expand rows #39

Open marizuccara opened 4 years ago

marizuccara commented 4 years ago

Hi! Is there a way to expand some rows on a interaction?

pupudu commented 4 years ago

Hi @marizuccara

Unfortunately, I haven't found a way to do that with any virtualization library so far. This is because react-window uses absolute positioning to render the rows virtually.

This is likely not impossible, it's just that it's not trivial on how to do that. If it's doable by some other library, it's probably doable with window-table as well. Do you have any other examples which do that?

I will have a deeper look into this. There might be a way to use the index of the row to change the absolute positioning of the rows.