Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Paul on Sep 03, 2008 06:02
open dhtmlx forum
Drag & Drop in Tree

Hi,

How can I enable Drag&Drop funtionality for a tree based on html list?

var myTree = dhtmlXTreeFromHTML('treebox');
myTree.enableDragAndDrop(true);

... doesn't work.


Thanks, Paul.
Answer posted on Sep 03, 2008 07:11
In case of init from HTML the d-n-d can be enabled through attriubute of  container element

<div id="treeboxbox_tree" enableDragAndDrop="true" ...