Drag Move Cell

Tags: #<Tag:0x00007f8b19904998>

If I was trying to construct an interaction sequence like this:

How would I go about that? Is that a native feature of the grid (can’t see anything obvious in the API)…or would I catch mouse events and do it manually?

If so, any suggestion on where I’d start looking in the API to get at the appropriate hook?

Thanks

Handsontable doesn’t have this functionality yet. Maybe you can use afterOnCellMouseDown to check which cell was dragged and afterOnCellMouseUp to check where it was dropped? Ten clear first one and set data for the second. You probably need to handle the UI and conflict with selection or turn it off, depend on the UX you want to achieve.

1 Like

Cool - looks like I’ll be hooking into the UI myself or this. Thanks for clearing this up - didn’t want to dive in and do stuff myself if it was already baked in!

Thanks @wojciech.czerniak

I need this feature too, it will be added anytime soon?

@fabiosarti sorry, no changes yet. We’re still working on the index mapper and the performance.