gantt
gantt copied to clipboard
disable drag
can we disable the dragging feature?
i solved this by calling refresh(tasks) with the current tasks inside the "on_drag" handler.
@jappyjan thanks for the reply.
i have added onDrag event with this library but still not working. You can check code in below codesandbox.
https://codesandbox.io/s/epic-greider-vvrv1
i need this
Any updates on this feature request?
The problem is solved if you take this.bind_bar_events comment line, which is called by the bind_events() method in frappe-gantt.js. Both the progress bar and task movement are disabled.
I came across this same issue recently, this fork added a draggable option to easily disable. https://github.com/Alisher778/frappe-gantt-extended
See my solution here: https://github.com/frappe/gantt/issues/125#issuecomment-1802043659
Looks like a duplicate of #323.