react-data-grid icon indicating copy to clipboard operation
react-data-grid copied to clipboard

Support dragging entire rows

Open fwcd opened this issue 3 years ago • 1 comments

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)?

fwcd avatar May 19 '22 11:05 fwcd

Hi Everyone, Anyone managed to show row while dragging as request in this feature ?

pareekashu85 avatar Oct 23 '24 13:10 pareekashu85