Hi Ruben,
Greetings from Syncfusion support.
From your shared details, we understand that you want to
perform a drag-and-drop action based on a particular condition. Similar like,
we have documented the TreeView sample in the Angular platform. Here, we have
restricted the files(tree node) drag-and-drop action within the folders only.
Check out the below link, to know more about the TreeView drag and drop action.
Restrict drag-and-drop : https://ej2.syncfusion.com/angular/documentation/treeview/how-to/restrict-the-drag-and-drop-for-particular-tree-nodes
TreeView drag-and-drop : https://ej2.syncfusion.com/angular/documentation/treeview/drag-and-drop
Check out the shared documentation sample at your end and
let us know if the provided sample is suitable for your requirement. Please get
back to us if you need any further assistance.
Regards,
Leo Lavanya Dhanaraj