This is a migrated thread and some comments may be shown as answers.
Date change from other event doesnt adjust the dates in timeline
4 Answers 7 Views
This is a migrated thread and some comments may be shown as answers.
Vaishali
Top achievements
Rank 1
Vaishali asked on 26 Sep 2019, 09:04 PM

Hi,

 

https://dojo.telerik.com/oboSOZuz In this example, if I click on "click" button, the task gets shifted but the timeline dates doesnt change. After which, now I want to link Finish to start dependency from task1 to the sub task, I cant do it as the dot is not visible. Is there any way to handle that?

 

Thanks,

Vaishali

4 Answers, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 30 Sep 2019, 01:50 PM

Hello Vaishali,

The implementation shared on the Dojo sample will actually result in the Timeline being updated upon start/end date change. If you change the start date to "05/29/2014" that could be clearly seen.

As per the new dependency definition, you will have to add that directly to the Dependencies DataSource of the widget. You could do that using the add() method:

var dependencies = gantt.dependencies;

dependencies.add({
  predecessorId: 1,
  successorId: 2,
  type: 1
});

Here you will find a modified version of the Dojo sent, which implements the above suggestions.

Regards,
Veselin Tsvetanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Vaishali
Top achievements
Rank 1
answered on 30 Sep 2019, 04:25 PM

Yes, you are correct, If we change it to 05/29 it will shift but not in the dojo example that I shared because those dates are already rendered. Now manually link the dependency from gantt "finish to start" type, we are unable to add that because the start dot for the task 2 is hidden. Can you please try it in the way explained here and suggest any way to implement this. 

Also, please let me know if this is gantt limitation?

0
Veselin Tsvetanov
Telerik team
answered on 02 Oct 2019, 10:51 AM

Hello Vaishali,

Here you will find a short video of manually creating a dependency in the Dojo sample, that you have sent. You will notice that it has been properly created. Do you perform different steps when you observe the problem in question?

If you are referring to the fact that the left-hand-side (start) dot of a Task will not be visible when the task starts at the moment at which the Gantt Timeline starts, that should be considered a bug in the Gantt functionality. Here you will find the GitHub item on that, where you could track its status. Keep in mind that at this stage I won't be able to provide you with a workaround for that.

As a small token of gratitude for reporting the above, I have updated your Telerik points.

Regards,
Veselin Tsvetanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Vaishali
Top achievements
Rank 1
answered on 02 Oct 2019, 02:18 PM
Yes, I was talking about the fact that starting dot is not visible. Thanks
Tags
Gantt
Asked by
Vaishali
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Vaishali
Top achievements
Rank 1
Share this question
or