Our state of the art Gantt chart


Post 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


Post 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

Best regards,
Márcio


Post 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.


Post 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.


Post 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.


Post by mats »

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


Post Reply