Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
Drag & Drop from Datatree to Datatree
posted

Hello,

i want to copy a Item from one tree to a child of a second tree with drag and drop.
I need my own custom rules to allow them or forbid them.

I try the drag drop options from tree and the drag drop framework. But both doesn't do it.

  • My Problems with "drag drop framework"
    i can drag a node, but i can only drop them to the second tree element, i can't select a node of them to drop them.
  • problem with drag drop from datatree.
    the tree call automatically funtions to move the node, i simple wan't a event that says "this SourceNode attemp to add to this TargetNode"

It should look like two windows explorer. What would you recommend To implement this?

With regards from Germany

Thomas

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Thomas,

     

    Thank you for your post. I have been looking into it and I have created a sample project for you with the functionality you want. You can hold down Ctrl if you want to copy the item or just drag and drop it to move it. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    DDBetweenTrees.zip
Children