Timeline: date/time step on change by drag


#1

Here is a video that shows the issue:
https://www.awesomescreenshot.com/video/9960895?key=961d3118e7f0569801135dce69633135

Basicaly I can’t set the date atomicaly, it is always rounded to the exact beginning or end of the day / month (depending on selected zoom scale). How to fix it, so I’m able to set the date exactly where I endted the drag, with the hour-precision (day is fine too) ?

All samples here https://docs.dhtmlx.com/gantt/samples/03_scales/ have the same issue.


#2

Hello,
You need to disable default round_dnd_dates config, which moves the task’s start and end dates to the nearest scale marks:
https://docs.dhtmlx.com/gantt/api__gantt_round_dnd_dates_config.html ;
Please check the following snippet:
https://snippet.dhtmlx.com/rx2eleyu