react-data-grid
react-data-grid copied to clipboard
Support dragging entire rows
Use case
It would be cool if the row renderer could be customized (e.g. in the row-reordering example) to support dragging entire rows rather than just the first cell of each row. Currently this isn't possible from what I can tell (without reimplementing the entire row rendering mechanism), since the rows use display: contents and only the cells have a non-zero size.
Proposed solution
I am not too familiar with react-data-grids architecture, so maybe someone has a better idea here, but perhaps the row divs could be given an actual height, to make attaching a drag handler to it possible (and not just to the first child cell, like in the example)?
Hi Everyone, Anyone managed to show row while dragging as request in this feature ?