Multiple drag and drop between treetables

Hello
is it possible to drag’n’drop multiple items from one treetable to another? Actually, I can only dnd an item with his childs. but i like to move a whole structure.
Thanks

Hello @pschaer,
By default, if you drag-and-drop the tree branch it is moved together with its leaves.
But you can use onBeforeDragIn and onBeforeDrop handler to redefine default dnd behavior.
Please check the snippet:
https://snippet.webix.com/qpsf7mek

Hello @annazankevich
Thanks for your replay. Your snippet works well. But in my case, when i will drop multiple items, the drop event is stopped and the items remains ‘in move’ with a label of how many items are there to move. I use it in in 2 different vue components. Is this a problem?

When i will drop more than one item, the following error occurs:
TypeError: undefined is not an object (evaluating ‘this.getItem(id).$parent’)

Do you have an idea where i have to search?

@pschaer,
Unfortunately, I can’t repeat the described issue. Could you please provide a snippet and specify the Webix version?