Update Project Schedule Dates in TypeScript Gantt Chart Control
18 Nov 20181 minute to read
The updateProjectDates method in the TypeScript Gantt Chart control enables programmatic adjustment of the project’s start and end dates, seamlessly updating the timeline and task positions for efficient schedule management. By passing valid Date objects for the start and end dates, you can shift the entire project timeline, such as moving a project forward by a month to accommodate delays. An optional Boolean roundOff parameter, when set to true, aligns dates to the timeline’s unit (e.g., days or weeks), ensuring a clean and consistent display. Ensure the Gantt has a defined dataSource and timelineSettings to render the updated schedule accurately. Use valid date formats and leverage the roundOff option to optimize timeline rendering for clarity.