Hi Vin,
Greetings from Syncfusion support.
We would like to inform you of a few points about how the start date is calculated initially when adding a new task, if the start date and end date of the task is not mentioned. The duration will automatically be set as 1 timeline unit.
Case 1: If you have entered the projectStartDate and projectEndDate, and have also populated the Gantt with data: The start date will be calculated based on the minimum start date of the tasks.
Case 2: If you have not entered the projectStartDate and projectEndDate, but have populated the Gantt with data: In this situation also, the start date will be calculated based on the minimum start date of the tasks.
Case 3: If you have entered the projectStartDate and projectEndDate, but have not populated the Gantt with data: The start date will be calculated based on the projectStartDate you have entered.
Case 4: If you have not entered the projectStartDate and projectEndDate, and have also not populated the Gantt with data: The Gantt will render based on the current week, and the start date will be calculated to the first working day of the week.
We checked in all the four above cases, however, we were not able to replicate the issue you reported. Please find the sample we used to validate your issue below.
Please share some more details such as:
- What version of Gantt Chart you are using ?
- Are you facing any console errors in your application ? If yes, please share a screenshot or the call stack of the error.
- Do you have some customizations in the actionBegin or actionComplete event related to CRUD operations in Gantt ?
- If possible, please modify the above sample to replicate the issue or share an issue reproducible sample of your own. You could also share a video replicating the issue.
Any information you can share will be useful to us in providing a solution to you.
Regards,
Monisha.