Work Hours started to be set to 0 after the upgrade Gantt Control

Hello,

Work hours started to be set to 0 after the upgrade all controls we use. We dont know why this happened.

The wrong output is:

Image_4058_1723788503802

Our upgrades:

Image_8567_1723788090123

estHours different from zero. also I try to remove estHours and new one is like that: Work: 5, for example I set Work as 5. It still be setting as 0. 

Image_3861_1723788278852

Image_9354_1723788436258

but required field is true:

  {
    field: 'required',
    headerText: 'Reqd',
    width: 60,
    allowEditing: true,
    type: 'numeric',
    format: 'c2',
    editType: 'numericedit',
    edit: { params: { min: 1, max: 10000 } },
  },


This things happened after upgrade our gantt control to new version.

Thanks.


2 Replies 1 reply marked as answer

SJ Sridharan Jayabalan Syncfusion Team August 16, 2024 12:47 PM UTC

Hi Emrah,


Greetings from Syncfusion.


For your query, we would like to inform you that the behavior has changed in the latest version of the Gantt Chart. In the older version, the default taskType was "FixedWork," so the work value was displayed as provided in the data source without using taskType property.


In the latest version, we have changed the default taskType ​to "FixedUnit" As a result, due to internal calculations, the work property values in the data source are reset to 0 if no resource is assigned. To overcome this issue, we suggest setting the taskType to "FixedWork" in the Gantt Chart. Refer to the release notes' breaking changes for your reference.



Code-Snippet:   

GanttComponent

          id="Editing"

          taskType='FixedWork'

        >

        </GanttComponent> 

 

Sample - Zbeelf (forked) - StackBlitz

Documentation - Work in React Gantt component | Syncfusion

Release notes - Essential Studio for React 2024 Volume 1 main Release Release Notes (syncfusion.com) 

 

 


Regards,

Sridharan


Marked as answer

EA Emrah Asma replied to Sridharan Jayabalan August 16, 2024 01:25 PM UTC

Thank you so much, it works! Have a good time!


Loader.
Up arrow icon