Our state of the art Gantt chart


Post by casman.manzano »

Hello, how do you change the start date because i've tried to change it via project like:

    const project = {
      taskModelClass: LoupeModel,
      autoLoad: false,
      autoSync: true,
      startDate: "2020-01-14",
      // The State TrackingManager which the UndoRedo widget in the toolbar uses
      stm: {
        autoRecord: true,
      },

  listeners: {
    // listen to load request errors
    loadFail: this.processError,
    // listen to sync request errors
    syncFail: this.processError,
  },
};

and i've tried to change it on the config like:

const ganttConfig = {
  dependencyIdField: "wbsCode",
  minHeight: "2000px",
  startDate: "2021-06-21",
}

but it still remains the same. How do I change this? thx

Attachments
bryntum-start-date.PNG
bryntum-start-date.PNG (13.22 KiB) Viewed 196 times

Post by saki »

Did you add startDate also to the template? Adding it to ganttConfig only does not propagate it down to the Bryntum Gantt component.


Post Reply