Hi, I have two level tree on left side and single level tree on right. I could drag a leaf from two level tree and drop it on single level in a sibling mode, right, what I need to do is drag the whole branch from two level tree and drop it on single level tree, but when dropped singe level tree should accept only all leaves from that branch that has been dragged, not the branch itself, is it possible?
Thanks.
You can customize drag and drop in Tree with events.
When branch is dropped on the target grid, you can check if it contains children and delete all of them if necessary.
Please find more information about customizing drag and drop here docs.dhtmlx.com/doku.php?id=dhtm … p_handling
docs.dhtmlx.com/doku.php?id=dhtm … s_handling
Yeah, that’s what I had to do, I thought it was a little more elegant way of doing things. But I have to say your tree control is awesome, and I like it a whole lot.