Page 1 of 1

TaskResize on start date is not allowed

Posted: Fri May 19, 2023 7:21 pm
by Rakesh Nagapuri

https://www.bryntum.com/products/gantt/docs/api/Gantt/feature/TaskResize

As per this url , in the first paragraph it says that "Resizing a task by dragging its start date is not allowed."
But in the ext js version which we are using currently using. We can drag the start of the task bar. And also in the https://bryntum.com/products/gantt/docs/api/SchedulerPro/feature/PercentBar we can drag the start of the task bar and resize it.

Whereas in examples https://www.bryntum.com/products/gantt/examples/, we cannot do that. I want to know if that feature is supported or not. If it is not supported why it was supported in ext js version and why it is not supported now. What can I do to enable it in the Gantt charts


Re: TaskResize on start date is not allowed

Posted: Fri May 19, 2023 7:56 pm
by marcio

Hey Rakesh,

The expected behavior is to not be able to drag with the start date. The other ones are non-expected behavior. I create a ticket for discussion and fix if needed https://github.com/bryntum/support/issues/6814


Re: TaskResize on start date is not allowed

Posted: Mon May 22, 2023 7:17 am
by Rakesh Nagapuri

Hi Marcio,
Thanks for the reply. I want to understand why the expected behaviour should be like that. Why it is blocked to drag with start date for the tasks. Is there any specific reason for that? I also want to know if we can enable the drag on start date.


Re: TaskResize on start date is not allowed

Posted: Mon May 22, 2023 9:41 am
by arcady

Dragging a task start date is allowed and by design means - moving the task. Dragging a task end date means resizing a task (changing its duration).

I believe changing a task duration by dragging its start date is disabled since by default in the Gantt tasks are scheduled ASAP. And thus they are already moved to their earliest possible dates. So resizing farther to the left is just impossible.

That behavior basically repeats what MS Project does which is what the most of our customers expect from the Gantt view.


Re: TaskResize on start date is not allowed

Posted: Tue Feb 13, 2024 10:41 pm
by jhill@achieveit.com

Is resizing the start date still not allowed? Even with all tasks set to manuallyScheduled: true, it does not seem to allow it.


Re: TaskResize on start date is not allowed

Posted: Tue Feb 13, 2024 10:48 pm
by mats

Correct, still not supported. If you're open to sponsoring the feature implementation, perhaps we could have a quick chat?