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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Milestone as child edits parent end date

Thread ID:





149069 Nov 13,2019 10:45 AM UTC Dec 19,2019 01:41 PM UTC Vue 4
Tags: Gantt Chart
Tomasz Tomczykiewicz
Asked On November 13, 2019 10:46 AM UTC


I have a milestone as a child. The milestone edits the end and the parent doesn't cover all day. How to fix this?

Best regards,
Tomasz Tomczykiewicz

Attachment: ganttmilestoneaschild_41c8208a.zip

Pooja Priya Krishna Moorthy [Syncfusion]
Replied On November 14, 2019 10:02 AM UTC

Hi Tomasz, 
We checked the sample shared and we were able to reproduce the reported issue when dayWorkingTime is set as 1-23. We logged a bug report for this. You can track its status from below feedback link. 
We will fix this issue and include the fix in our weekly patch release, which is expected to be rolled out on November 27, 2019. 
Now we are providing a workaround solution. You can change the taskbar width by using queryTaskbarInfo event. Please find the below code example. 
<ejs-gantt ref="gantt" 
   :queryTaskbarInfo= "queryTaskbarInfo"> 
methods: { 
  queryTaskbarInfo: function(args) { 
   if (args.data.startDate.getTime() === args.data.endDate.getTime())   
     args.taskbarElement.children[0].style.width = '11px' 
Please get back to us if you require further assistance on this. 
Pooja Priya K. 

Pooja Priya Krishna Moorthy [Syncfusion]
Replied On November 29, 2019 11:23 AM UTC

Hi Tomasz, 
Thanks for your patience. 
We have fixed the reported issue. Please find the release notes from below link. 
Please upgrade your Gantt packages to the highest version v17.3.29. We have prepared a sample with latest source, please find the sample from below link. 
Pooja K. 

Tomasz Tomczykiewicz
Replied On December 18, 2019 11:20 AM UTC


I found something strange. When a task has a child which is a milestone, then taskbars are moved to the right and enters the next day.

Without a child as a milestone, everything is ok.

Best regards,
Tomasz Tomczykiewicz

Attachment: ganttwrongdayworkingtime_dce7303e.zip

Pooja Priya Krishna Moorthy [Syncfusion]
Replied On December 19, 2019 01:41 PM UTC

Hi Tomasz, 
Sorry for the inconveniences caused. 
We are already working on reported issue as improvement feature support to change parent task as milestone when the parent has only milestone child tasks which are render on same date. You can track its status from below feedback link.  
This support will be included in our upcoming Vol 4 SP1 release, which is expected to be rolled out at the end of January 2020. 
Pooja K 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon