Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Matt on May 03, 2009 09:24
open dhtmlx forum
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
Answer posted by dhxSupport on May 04, 2009 02:00
You can control drag start using onBeforeDrag event. Please see more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Managed_Drag_and_Drop.html#grid_mandnd