Has anyone a working example for dragging foreign elements into thetree? I need a custom toolbox to be able to create the tree dynamically by drag and drop but I don't know how.
Thanks.
Hello Ilya,
What I can think of is to put two igTree controls on the page and drag and drop nodes from the second one, which you can make to look like what you want.
Something like the following example: http://www.igniteui.com/tree/drag-and-drop-multiple-trees.
You can customize the look and feel of the second tree to what your requirement is.
Please let me know if that suits your needs.
Hi,
Is there a way to drag&drop to another html object not an igTree?
I have a "img" html object that I want to use to remove nodes from igTree by dragging it from igTree and dropping it to img object.
The scenario is: the img is a trash can, then I want to be able to dnd from tree to that img and remove the node if it is dropped to the img.
Thanks,
Fernando