Page 1 of 1
[REACT] Drag only task start date
Posted: Tue Sep 09, 2025 10:04 pm
by colingarner22
Is there an option that supports drag-and-drop of the start date only - without also moving the task end date (we are not using dependencies)? Ideal state is:
Task end date only can be moved via drag-and-drop
Task start date only can be moved via drag-and-drop
Entire task can be moved via drag-and-drop
We have are covering points 1 & 3 with our current setup, but 2 is still missing.
Re: [REACT] Drag only task start date
Posted: Tue Sep 09, 2025 10:16 pm
by marcio
Hey colingarner22,
Thanks for reaching out.
Out of the box, Gantt supports resizing the end and moving the whole task, but there’s no built‑in “drag start edge only” mode.
What's the expected behavior when the user "moves" the start date after the end date?
You can try implementing it yourself by intercepting the TaskDrag lifecycle, remembering the original endDate on taskDragStart, and then, on drop, applying the new start while restoring the original end (or setting both start/end in a single async commit).