Is there a way to drag the gantt-chart tasks discretely amongst fixed points instead of continuously? What I want is something like the snap-to-nearest feature but with the option of customizing where those ‘snap-points’ are located.
Currently there’s isn’t an option to determine the dragging mode of the tasks. Timeline tasks are dragged freely.
However I can suggest something that might be usefull in this situation. You can bind to the dragEnd event and if the desired dateStart/dateEnd from the dragging process is not what you need, you can change it via the updateTask method. Using this approach you can apply some kind of custom validation to the dateStart/dateEnd of a task after dragging is finished.
Smart HTML Elements Team https://www.htmlelements.com