Dxhtmlgantt How to set the milestone not to move with the lead task move

Dxhtmlgantt How to set the milestone not to move with the precessors task move

Hello,
If you use auto-scheduling, you can add the MSO or MFO constraints to milestones. Then they won’t be moved to the newer date when you drag their predecessors:
https://docs.dhtmlx.com/gantt/desktop__auto_scheduling.html#timeconstraintsfortasks
Here is an example:
http://snippet.dhtmlx.com/5/a90f8be13

If you don’t use auto-scheduling, probably you use a custom function to drag tasks. In that case, it is hard to suggest what should be changed as I don’t see your code. I will need a ready demo with all the necessary files so that I can reproduce it locally.