Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

How difficult would it be to allow drag and drop to and from the tree list? #6

Open
jktravis opened this issue Oct 17, 2016 · 1 comment
Labels

Comments

@jktravis
Copy link
Contributor

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?

@maheshsenni
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants