I want to update one or more task’s start or end date programmatically (without using drag drop and resizing ) in projectModel and also Gantt View after all tasks are populated and gantt chart is completely loaded. How can i achieve this?
Support Forum
All tasks are stored in TaskStore https://bryntum.com/docs/gantt/api/Gantt/data/TaskStore
https://bryntum.com/docs/gantt/api/Gantt/view/Gantt#property-taskStore
https://bryntum.com/docs/gantt/api/Gantt/view/Gantt#property-project
https://bryntum.com/docs/gantt/api/Gantt/model/ProjectModel#property-taskStore
You can get record using one of store's methods, as example https://bryntum.com/docs/gantt/api/Gantt/data/TaskStore#function-findRecord
(check docs to see all available methods) and do your manipulations.
Also check
https://bryntum.com/docs/gantt/api/Gantt/model/ProjectModel
https://bryntum.com/docs/gantt/guide/Gantt/data/project_data
https://bryntum.com/docs/gantt/guide/engine/gantt_events_scheduling
All the best,
Alex