а

Drag & drop - HTML to HTML


#1

I am using drag & drop from DHTMLX to HTML, when the drop happens I then want to drag & drop element again, can I use DHTMLX for drag & drop inside pure HTML? Ideally I would like to use same handler, to drag element in pure HTML after it was dragged from DHTMLX.


#2

You may try to use the same event handler for both of your events if its’ action could be used this way;
myTree.attachEvent(“onDrag”,your_function())
object .addEventListener(“drag”, your_function );
but dhtmlxTree itself cannot control the dragging of elements not related with it.