How to automatically moved to initial startdate and enddate of ganttchart

Asked by Anonymous
1 years ago.

when we change the start and end date of a gantchartt by drag and drop using taskMoveHandling at that time api is fail or throw any error, in that case i need to reset the start and end date the original dates

Answer posted by Dan Letecky [DayPilot]
1 years ago.

You can change the startDate and days properties as needed by calling the update() method:

gantt.update({
  startDate: "2025-05-01",
  days: 31
});
Comment posted by Anonymous
1 years ago.

I need to update that particular task

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.