Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1410
Impossible to drag &drop when XamDataTree is empty ?
posted

Hi

I have 2 XamDataTree controls. User is able to drag and drop items from one to another. This works great so far.

The problem is when one of the constrol is empty. User would like to drag items from filled tree and drop them to the empty one. However - there is no place in empty XamDataTree where user can drop item.

All the control has "x" icon when item is dragged and user tries to drop it.

Soo, in general, drag and drop works only if there is at least 1 item (then we can drop another item above, below or as a child).

How to solve this? (the required behaviour would be that when user drag item into the empty XamDataTree, and drop it - that item should be added as root node.