The first image is a dragging node image. I dragged the 'furniture'
parent node inside the 'storage' parent node. This dragged
successfully(see second image).
I don't want to allow this to happen. How can I prevent it?
1 Answer, 1 is accepted
answered on 24 Apr 2014, 03:04 PM
I already answered to this query in the support ticket you opened, but I will share my reply here as well: You can use the drag event to check whether the dragged node has children or if it on the root level and based on that decide if dropping in into the other TreeView should be allowed. Here is an example how this could be achieved.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!