enables the possibility to resize tasks by drag-and-drop
gantt.config.drag_resize = false;
gantt.init("gantt_here");
Check the related section in the CSS Documentation article to know how to disable resize handles for all tasks.
Check the Dragging Tasks within the Timeline article for details on the finer control of resizing operations, namely: