Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alberto on Sep 12, 2008 00:26
open dhtmlx forum
Drag & Drop

Hi,

I'm interested in using drag&drop between two elements contained in a dthmlxwindow, can I use dhtmlDragAndDropObject?
I can't find any documentation about this object.

Thanks,

Alberto.
Answer posted by Support on Sep 12, 2008 05:09
In theory the dhtmlDragAndDropObject can be used for such task, but it has not public API and rather complicated to use

If you are using dhtmlxtree on the page, you can use its extension, which simplify creating of dragable items.
Creating dragable object
http://dhtmlx.com/docs/products/dhtmlxTree/samples/drag_n_drop/drag_in_simple.html?un=1221222560000
Creating drop target
http://dhtmlx.com/docs/products/dhtmlxTree/samples/drag_n_drop/pro_drag_out.html?un=1221222515000