Our state of the art Gantt chart


Post by alex.l »

Thank you for details provided, I see the problem. Here is a link to track the status https://github.com/bryntum/support/issues/5512
As a workaround, try to add durationUnit field in your data. https://bryntum.com/docs/gantt/api/Gantt/model/TaskModel#field-durationUnit

All the best,
Alex


Post by hien.nguyen »

Thanks,

It's OK after I add "durationUnit", but I got new problem: if first init chart without horizontal scrollbar (because not have task that overwrite to the right). After I increase some task to be overwrite to the right => then the horizontal scrollbar not display.

Best regards.


Post by alex.l »

It's by design. The timeline initially has startDate and endDate.
https://bryntum.com/docs/gantt/api/Gantt/view/Gantt#config-startDate
https://bryntum.com/docs/gantt/api/Gantt/view/Gantt#config-endDate
If omitted, it will be calculated.
To have it adjusted, enable https://bryntum.com/docs/gantt/api/Scheduler/view/mixin/TimelineScroll#config-infiniteScroll

const ganttConfig = {
    infiniteScroll : true,
    project: {

All the best,
Alex


Post by hien.nguyen »

It worked, thanks.

Best regards.


Post by hien.nguyen »

Hi team,

I got new problem, after I set durationUnit = hour ==> result is OK. But when I add new task, duration back to day, please share me the way to change it to hour.

Best regards.


Post by tasnim »

Hey hien.nguyen,

Could you please open a separate post for that new problem? Actually, we have a policy of one post per issue, to simplify the workflow and support.

Let's create a new post on the new problem to maintain the policy

Good Luck :)


Post Reply