gantt icon indicating copy to clipboard operation
gantt copied to clipboard

disable drag

Open RahulShahUI opened this issue 5 years ago • 7 comments

can we disable the dragging feature?

RahulShahUI avatar Oct 23 '19 09:10 RahulShahUI

i solved this by calling refresh(tasks) with the current tasks inside the "on_drag" handler.

jappyjan avatar Oct 29 '19 19:10 jappyjan

@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

RahulShahUI avatar Oct 31 '19 06:10 RahulShahUI

i need this

CrisGarcis avatar Mar 11 '20 18:03 CrisGarcis

Any updates on this feature request?

Thimows avatar May 29 '20 10:05 Thimows

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.

erkankamazoglu avatar Aug 25 '20 14:08 erkankamazoglu

I came across this same issue recently, this fork added a draggable option to easily disable. https://github.com/Alisher778/frappe-gantt-extended

John-C2 avatar Mar 17 '22 12:03 John-C2

See my solution here: https://github.com/frappe/gantt/issues/125#issuecomment-1802043659

pdsuk avatar Nov 08 '23 16:11 pdsuk

Looks like a duplicate of #323.

safwansamsudeen avatar Apr 05 '24 13:04 safwansamsudeen