Time difference between currentViewData and taskData

Hi,

Why is there a difference in the times displayed for currentViewData.startDate and currentViewData.taskData.startDate when the viewData button is pressed in the sample below?

Also, can this difference be eliminated?

sample:https://stackblitz.com/edit/react-wrbgsnq3-qzep5grj?file=datasource.ts,index.js,index.html


Image_4568_1766014910754

Image_3747_1766014845567





1 Reply

SJ Sridharan Jayabalan Syncfusion Team December 18, 2025 12:49 PM UTC

Hi Akira,

 

Greetings from Syncfusion.

 

The reported case is a known scenario, and it is our current behavior of the Gantt chart. In taskData, we store only the date and time values exactly as they are declared in the data source. In contrast, currentViewData contains the validated and processed dates based on the Gantt chart’s internal calculations.

Once a record is edited, the date values in taskData are also updated accordingly. This is expected behavior.

 

Regards,

Sridharan


Loader.
Up arrow icon