Hi,
I've implemented drag & drop on a treeview, and one of the functions is to be able to drag a node that exists under one parent and drop it into some other parent.
This works fine if the destination parent already has children, but when the intended parent has no child nodes, the dropped item is moved as a sibling of the intended parent, rather than being added as a child. I looked for a demo of this behavior and was unable to find a solution.
Can ya help a brother out please?