DhtmlxScheduler createtimelineview render mode tree

Hi

I’m new in this forum. I’m using dhtmlxScheduler_v4.1.0. In it i’m using createtimelineview render tree mode. I have an issue in it. I have three part in my timelineview. Each part have parent and child nodes.

I can drag and drop an element through my createtimelineview tree view. Here my question is can resist the user to drag and drop an element in same part of the tree view. User have only the permission to drag and drop to another part of the tree

Eg :
Please see this http://docs.dhtmlx.com/scheduler/samples/06_timeline/03_tree.html In this example there are 3 parts.

  1. Web testing dep.
  2. Managers
  3. Human Relation Dep.

In that example user have the permission to drag an element from manager and drop that element inside the managers part itself. I need to resist that feature. I need to do this in such a way that, user can drag an element from manager and drop only at Human Relation Dep. if he try to drop it anywhere else that element goes to old place.

Thanks & Regards
Bobbin Paulose

Hi,
try using this event
docs.dhtmlx.com/scheduler/api__s … event.html
you can cancel drag and drop operation from the handler