Our state of the art Gantt chart


Post by jhughesoneplan »

I am having an issue with the Timeline and Gantt Combo. The timeline isn't updated when we make changes in Gantt. I have looked into the data and it appears to be an issue with the start/end date model. We have defined a project model for the gantt with startDate being StartDate and endDate being EndDate. When you first load the timeline the records are using startDate and endDate but if I make a change it converts the data over to using StartDate and EndDate in the timeline. If you do record.getStartDate in the timeline it shows the old date not the new.

The timeline doesn't seem to be picking up the start/end date model information. Is there something more I need to do in the timeline to use different data properties?


Post by mats »

It should just work as long as you feed the same project to both timeline and the Gantt. Can you please provide a test case with all relevant code?


Post by jhughesoneplan »

Go here.
https://templates.oneplan.ai/gantt/examples/timeline/

Make a change to Configure firewall2 such as extending the gantt bar. you will notice it doesnt update in timeline. IF you check/uncheck the timeline box it will update.


Post by mats »

Reproduced, thanks for reporting! https://github.com/bryntum/support/issues/4599


Post by jhughesoneplan »

Is there something I can do to the model in the timeline or do I need to wait for a release? Thank You.


Post by mats »

If you have to use field mapping you will need to wait for next release I'm afraid.


Post Reply