Hi!
I have problems to understand what you mean. Does this cloning doesn't
work, or is your code the problem? Maybe you need to clone recursively.
Sebastian
Krimpen schrieb:
> Hi,
> I'am trying to do a drag drop from one Qxtree to another tree, without
> modifying the 'drag' tree. To do this i'am using the eventhandlers from
> tree_5 from the test map with a smal modification as follows
>
> function handleDragDropFilter(e){
>
> var vType = e.getDropDataTypes()[0];
> var vSource = e.getData(vType).clone();
> var vTarget = e.getCurrentTarget();
>
> // alert(vTarget.getSelected());
>
> vSource.getTree().getManager().deselectAll();
> vTarget.add(vSource);
> vSource.show();
> vTarget.getTree().getManager().deselectAll();
> e.stopPropagation();
> }
>
> By using the clone from e.getData(vType) the originale tree keeps
> on-modified. But in the 'drag' tree an emplty entry occurs. When i put een
> alert in the eventhandler all works fine.
>
> Can anyone help me please?
>
> thanks in advance
>
> --
> View this message in context:
> http://www.nabble.com/QxTree+DragDrop-t1710522.html#a4644033
> Sent from the qooxdoo-devel forum at Nabble.com.
>
>
>
> -------------------------------------------------------
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> _______________________________________________
> Qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel