Allow drag and drop only between nodes of the same level
Alberz opened this issue · comments
Alberto commented
I make it finally checking nodes with ondragend
sung1asses commented
I make it finally checking nodes with ondragend
HOW? i don't understand how it works. Events seems like not working at all(
Xinxin commented
For your requirement, when drag start(drag event), walk all nodes and set their '$droppable' property by their level and dragging node level.