Good morning Bryntum team,
Is there any way to add an initial margin?
Because we start with 'weekAndDay' zoom it cuts the projectEnd flag and we'd love to see it.
Regards
Hi additout,
Try to set https://bryntum.com/docs/gantt/api/Gantt/view/Gantt#config-startDate and https://bryntum.com/docs/gantt/api/Gantt/view/Gantt#config-endDate
All the best,
Alex
I don't see any problems with that here https://bryntum.com/examples/gantt/advanced/
So it might be something else.
Please share you code here, we need to see your full configuration. Best of all if you attach a runnable test case.
All the best,
Alex
Hello Alex,
Here's the demo:
https://drive.google.com/file/d/1oyqYS4Wn9ZATOMopBUXpEohkRx5bpqpE/view?usp=sharing
Follow this:
npm i
npm run dev
And you should be able to run it.
Let me know If you can see the project end flag just using the X scrollbar,
Regards
Hi additout,
I just tried to apply startDate/endDate as I suggested and it works like a charm!
I guess you missed that both: Gantt's timeline and ProjectModel do have start/end dates. I see you used for project, but didn't set timeline.
Try add this into your GanttConfig.js
export const ganttConfig = {
dependencyIdField: "wbsCode",
// these 2 lines
startDate : "2021-12-14",
endDate : "2022-10-10",
project: {
transport: {
All the best,
Alex