react-treelist
react-treelist copied to clipboard
How difficult would it be to allow drag and drop to and from the tree list?
I'm curious as to your perspective regarding dragging whole rows out of and into the tree list would be an incredibly difficult thing to do?
I'm thinking that the <Row/>
component could be wrapped with a react-dnd DragSource
that could have the respective arguments exposed as props, but bringing something in and having it properly nest might prove to be more difficult. I'm unsure if the <Body/>
would be the DropTarget
for this?
Thoughts?
That is an interesting idea. You are right - <Row/>
could be a drag source and <Body/>
could be a target. Nesting can use something like this. I don't think I will be able to work on this any time soon, but feel free to have a go at it.