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

Dependency mapping is not working in Gantt chart .

While mapping dependency from one task to another task is breaking in Gantt chart .Using version of Gantt chart@17.2.34.
Gantt chart also use some part of Diagram(Syncfusion).We are using Diagram@17.1.47.If we upgrade the version of Diagram, Connector is breaking in Diagram .
If we use latest version of everything, then very asynchronous behaviour we are getting . 
Can you please suggest us which version we should use that both Gantt chart and Diagram will be working without brake.

Please find attached Screen shot .

Attachment: Gannt_Chart_dependency_mapping_error__8dffe7b3.zip

6 Replies

GA Gurunathan A Syncfusion Team September 6, 2019 10:27 AM UTC

Hi Sudhanshu, 
Thanks for the contacting.  
We have tested reported scenario in our local application with Gantt and Diagram controls in same page. But we can’t reproduce this error, please find the sample we are used for testing in below link. We have ensured this by rendering Gantt inside the IFRAM tag and on model dialog but we can’t get the issue. 
We have drawn the connector line by find the exact position of connector point on mouse down action and updated the connector line position on mouse move action. This issue may occur when we get the improper element position on mouse down event. Please share the following details to us it will helpful for us to check and provide proper solution for this issue. 
  • Position of Gantt control in web page with screenshot, you can get position by chrome developer tools.
  • Are you rendering Gantt inside any absolute positioned container element(DIV)?
  • Ensure duplicate Syncfusion packages in node modules folder.
  • If can provide the issue reproducible sample.
Please let us know if you have concerns.  

SJ Sudhanshu Jain September 6, 2019 12:19 PM UTC

Kindly please find attached folder .In folder i have mentioned all our syncfusion dependency ,used in out project and error video.One more thing i want to mention that if upgrading the Gantt chart version to @17.2.47 ,then Dispatch Scheduler is breaking .

Can you please look at the attached video and package.json screen shot and let us know which version we should use for all package .

Attachment: _Syncfusion_Package_used_in_our_project_and_error_video__ebbb7ed4.zip

GA Gurunathan A Syncfusion Team September 9, 2019 01:24 PM UTC

Hi Sudhanshu, 
Thank you for your detailed update. 
We have analyzed the provided video, this looks connector line update action was broken due to some console error, on connector line draw action we are rendering a dotted line, this line will be removed on successful update of predecessor update action. 
Can you please share us the below mentioned details? 
  • The screenshot of console error.
  • Share code snippets if any customizations done in actionBegin and actionComplete event.
  • Issue reproduceable sample or modify our sample which is previously updated by us to provide proper solution.

SJ Sudhanshu Jain September 9, 2019 04:10 PM UTC

Hi Gurunathan ,

Please find attached folder. We are using "taskBarEdited" instead of actionComplete method .Please find implementation of taskBarEdited method.I have also attached console error .I have checked yours sample code ,it was working fine .

Kindly let us know on high priority .


Attachment: taskBarEdited_and_Console_error_cbc20a6b.zip

SJ Sudhanshu Jain September 16, 2019 05:59 AM UTC

Hi Gurunathan ,

Can we have call at 4PM IST - 16th Sep 2019 .


PP Pooja Priya Krishna Moorthy Syncfusion Team September 17, 2019 11:09 AM UTC

Hi Sudhanshu, 

We have created  new incident to track the status of the reported scenario in Gantt. Please follow-up with that incident for further updates. 

Pooja Priya K. 

Live Chat Icon For mobile
Up arrow icon