Tree: passing arbitrary data into drag > DataTransfer or accessing last dragged node externally? #2410
Unanswered
undefinedDarkness
asked this question in
PrimeReact
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I was using the component and was able to get drag and drop working :>,
But I wanted to be able to attach my own datatransfer data to a TreeNode, so that I can work with a treenode being dragged into another part of my application, is there any way to do that?
Right now, if I inspect a datatransfer from a node being dropped elsewhere, It has a plain/text and filetree, both with content fileTree,
If there's some way to get the last dragged node from the tree that would be fine too I think
Beta Was this translation helpful? Give feedback.
All reactions