Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by abhishek on Aug 31, 2009 04:47
open dhtmlx forum
dhtmlx tree: how to clone a tree node?

how to clone a tree node?
Answer posted by Alex (support) on Aug 31, 2009 08:41

There is enableMercyDrag method:

tree.enableMercyDrag(true);

tree.moveItem(id,mode,targetId)

Answer posted on Aug 31, 2009 09:02
i think the method is supported only in PRO edition only
Answer posted by Alex (support) on Aug 31, 2009 09:17

Yes, PRO only.

In case of standard you can use getItemText and insertNewItem methods