Disable Specific folders in Tree for Drag/Drop

Is there a way i can disble drag out and drag in for a specific top level row in tree. Example, 1 have 20folders and 10 items under each folder. I want to be able to move the items to other folders in 18 out of the 20 folders. However for the 2 folders, I want the contents to be locked where I can’t drap into or out of those 2 folders.



Thanks,

Matt

You can control drag start using onBeforeDrag event. Please see more information here dhtmlx.com/docs/products/dhtmlxG … rid_mandnd