Our state of the art Gantt chart


Post by shaveta »

Hi

How to load calendar data using "loadInlineData" https://bryntum.com/docs/gantt/#Gantt/model/ProjectModel#function-loadInlineData

Thanks!!


Post by tasnim »

You can add the calendar data using https://bryntum.com/docs/gantt/api/Gantt/model/ProjectModel#config-calendarsData config.

Here is an example :

await project.loadInlineData({
    eventsData       : [...],
    resourcesData    : [...],
    assignmentsData  : [...],
    dependenciesData : [...],
    // calendar below
    calendarsData : [...]
});

Post Reply