Our state of the art Gantt chart


Post by bhavadharanisure »

Hi,
We want to perform validation for drag drop event in SchedulerPro that is ,
If I drag an event from one resource in the scheduler to another resource, I want to perform an validation.

What we want is that ,on event drop from one resource to another resource in SchedulerPro , validation is done. If its success then the event drop should retain else if,
the validation is not compatible then the event should stay in the same resource from which it was dragged from .

I tried using event aftereventdrop ,
Here on validating if the resource and event are not compatible then i unassiged manually using

assignmentStore.unassignEventFromResource(idofevent, idofresource);

and the event is removed from the resource from which it was initially dragged also.

1) What is the event I can use so that I can stop the assignment before event is assigned to the new resource in case the validation is failure


Post by mats »


Post Reply