Treeview drag to HTML Target

Hello,

i want to drag out an element from a treeview to an div container. Is there an example for this?

I found this:
Custom Drag Out?

But the lines:
myTree.setDragHandler(maf);
myTree.dragger.addDragLanding(sinput, new s_control);

break off with error.

The elements dhtmlXTreeObject and TreeView seems to be different.

I use the latest version 5.2!

regards
stephan

You’re right dhtmlxtree and dhtmlxTreeview are the different components and have different API.
You need to use the dhtmlxTree instead of dhtmlxTreeView.