For a long time I have been trying to get the scheduler collision system to work, but it only works the first time when loading with lines:
scheduler.attachEvent (“onEventLoading”, function (ev) {
return scheduler.checkCollision (ev);
});
I put the js file for the collisions and I set the collision_limit configuration to 1 but as soon as I move an event the onEventCollision does not seem to be executed.
Note that I am in a vuejs project and that I had to import the lib in the asset folder because it was impossible to import it via npm because the css file was not working.
Do you have any idea what the problem is?
thank you
I did try to use onEventCollision but it just doesn’t apply.
When I wanted to use the onBeforeEventChanged, onEventSave, onEventDrag, onDragEnd events I had the same problem they do not work or do not allow me to cancel the move for example in the case of onEventEnd.
Do you have any solutions?
Thank you
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan