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
You can change the startDate and days properties as needed by calling the update() method:
gantt.update({ startDate: "2025-05-01", days: 31 });
I need to update that particular task