Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ravi on Jul 28, 2008 21:59
open dhtmlx forum
dhtmlxTreeGrid with complex drag behavior (cannot drag at index 0)

In a dhtmlxtree grid, with complex drag behavior, I am not able to drag a row and drop it as the first row of the grid, i.e., at index 0.

The similar thing happens with tree structure too. If I drag a row and drop it between the tree's parent row and its first child, the row gets added after the tree rather than its first child.

Is this a known issue? If so, do you have any quick fix for it.

Thanks,

Ravi
Answer posted by Support on Jul 29, 2008 01:46
In case of TreeGrid , you can enable different drop behavior by
    treegrid.setDragBehavior("complex-next");
In such case, in described scenario, item will be added as first child.
So far, there is no similar mode for dhtmlxtree component.