support
support copied to clipboard
Calendar column doesn't load data when setting project after gantt intialization
Reproducible in gantt advance demo
To reproduce it, you need to take the project config out of the gantt config and add it after the gantt initialization
const project = new ProjectModel({
// Let the Project know we want to use our own Task model with custom fields / methods
taskModelClass : Task,
transport : {
load : {
url : '../_datasets/launch-saas.json'
}
},
autoLoad : true,
taskStore : {
wbsMode : 'auto'
},
// The State TrackingManager which the UndoRedo widget in the toolbar uses
stm : {
autoRecord : true
},
// Reset Undo / Redo after each load
resetUndoRedoQueuesAfterLoad : true
});
const gantt = new Gantt({
...
});
gantt.project = project;
https://github.com/bryntum/support/assets/75997756/09f9f01d-62d6-48c6-b579-e8789a3cdc7f
Can you please update us on the bug's progress?
Should be fixed now, coming in next patch.