Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tejas Shah on Sep 17, 2008 03:38
open dhtmlx forum
DHX Tree : Drag-m-Drop between Trees

Hi there,
When we do d-n-d between trees, by default it makes dragged item as child item. But can we make the child item as parent item into the tree object to which we are dragging the item. ??
Answer posted by dhtmlx support on Sep 18, 2008 01:51
There are three modes of d-n-d in dhtmlxTree, which allows two variants of drop - as child or as sibling (modes are "child", "sibling", "complex"). There is alos onDrag and onDrop events which can be used to make additional operaions with dropped node afterwards.