Our state of the art Gantt chart


Post by Qwerty »

Please see the attached demo, modified from the React TimeRanges demo.

It seems like a bug that the TImeRanges are not showing here, even though there are no tasks. Can you confirm if this behaviour is correct or not?

Thanks.

Attachments
Archive.zip
(2.3 MiB) Downloaded 32 times

Post by tasnim »

It actually does show the timeranges. You can't see the timeranges because when you don't have a task in Gantt it sets the startDate of Gantt to the current date. And the timerange's date is on 2019 So to see the timeranges you just need to set the gantt's startDate to a date in 2019.

You can set the date to this to see the timerages

ganttConfig = {
	startDate : '2019-01-01'
}

Docs https://bryntum.com/products/gantt/docs/api/Gantt/view/Gantt#config-startDate

Attachments
sdf.png
sdf.png (58.09 KiB) Viewed 147 times

Post Reply