We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Critical path not working correctly

Hi,

I was trying out the critical path feature of the Gantt component, and I think there might be a bug.

I'm using v20.3.48.


With these kind of dependencies between the tasks it is not highlighting one arrow and the last task.

Could you look into this?

By the way, I think that maybe this particular example doesn't make sense (A->B, B->C, A->C). I'll tell you if I find other examples.

Thank you.

Best regards,

Matteo Messmer


3 Replies

GM Gopinath Munusamy Syncfusion Team October 13, 2022 12:46 PM UTC

Hi Matteo Messmer,


Greetings from Syncfusion support.


We have checked with the issue you have reported and able to replicate the same. We suspect that you have given progress value for the last task is 100%. If yes, then that is the reason for the task is not highlighting as a critical task. Whenever a task has 100% progress value then that task should not be considered as a critical task. We have attached the sample for your reference, please check the below sample for more details.


Sample:  https://stackblitz.com/edit/react-1pc3cs-ltvggm?file=data.js

Please get back to us if you require any further assistance on this.


Regards,

Gopinath M



MA matteomessmer October 13, 2022 02:20 PM UTC

Hi Gopinath,

The last task progress is 0% in my demo. 


I took your sample and tried removing the progress and the first task is not shown as critical, but the last one is, I'll try to investigate more in this.

Sample: https://stackblitz.com/edit/react-1pc3cs-td2tak?file=data.js


Thank you.


Best regards,

Matteo Messmer



GM Gopinath Munusamy Syncfusion Team October 14, 2022 01:21 PM UTC

Hi Matteo Messmer,


We will wait to hear from you. Please test at your end.


Regards,

Gopinath M


Loader.
Live Chat Icon For mobile
Up arrow icon