Prevent date auto snap to end of month on task resize?

Hello,

I want to be able to resize a task and thus change the date. That works, however it resizes the task to automatically snap to the beginning of the next month. as an example if I am in the month scale, if I resize a task to the dates of May 01 - June 15 it will automatically snap to May 01 - July 01.

How can I stop the snapping of the date change? I would like the task to be set as the date it is dragged to not the beginning of the month.

Hello,

You need to set the value of round_dnd_dates config to false.
docs.dhtmlx.com/gantt/snippet/d9767b6a

docs.dhtmlx.com/gantt/api__gant … onfig.html

For month scale it’s not important, but if you have hour/minute scale, you may also need to set up time_step config:
docs.dhtmlx.com/gantt/api__gant … onfig.html

Thank you, this was very helpful.