Our state of the art Gantt chart


Post by awendt »

Hello,

We are observing a behavior when if you zoom into a day's view for a task on the chart side and then try to drag the end date to a middle of the day. We can see that duration column gets changed to a fractional value.

Which affects the overall schedule by reshuffling the dependent tasks, is this an expected feature or there is a way to control the duration column during a drag to only allow for whole day movements and not fractional ?


Post by mats »

How can we reproduce this?


Post by awendt »

It is possible to create a fractional task duration value by doing the following :
a) Use the zoom in button in the tool bar to zoom in a bit, such that the visual representation of a day can be seen on the gantt chart

b) Then dragging the end date of a task to the middle of a of a particular day, we can see that the duration column gets updated a fractional value.


Post by alex.l »

Hi awendt,

Yes, that you described - is an expected behaviour. duration units used to comfortable user experience, but duration may be in a middle as well.

All the best,
Alex

All the best,
Alex


Post by alex.l »

As a workaround, you could try to check and round dates by your own before the operation is finished, as example, using these events:
https://bryntum.com/docs/gantt/#Gantt/feature/TaskResize#event-beforeTaskResizeFinalize
https://bryntum.com/docs/gantt/#Gantt/feature/TaskDragCreate#event-beforeDragCreateFinalize

All the best,
Alex


Post Reply