Display a warning when a constraint/dependency link is violated

Hello - I need to know which event to respond to, and what is the correct approach, to detect that a constraint or dependency has been violated. I can’t see anything in the docs - is there an event I can look at? Thanks.

Hello Jonathan,
Right now, Gantt doesn’t have a scheduling conflict form for that. The dev team will add that feature in the future, but I cannot give you any ETA.
There is the onBeforeTaskAutoSchedule event that fires before Gantt starts auto-scheduling a task:

There is no built-in way to find out the actual reason for auto-scheduling. But you can check the task that is being auto-scheduled, the relevant link, and predecessor task. This should help you to start implementing your solution.
You can check how it works in the following sample:
https://docs.dhtmlx.com/gantt/samples/?sample='02_extensions/19_constraints_scheduling.html'&filter='sched'