This is a migrated thread and some comments may be shown as answers.
Custom GanttDragResizeVisualCueTemplate
1 Answer 6 Views
This is a migrated thread and some comments may be shown as answers.
Andréa
Top achievements
Rank 1
Andréa asked on 05 Mar 2020, 04:33 PM

Hello,

Im trying to dev my own GanttDragResizeVisualCueTemplate in order to add data in .

But i would like to keep the default behavior of dynamically computing stop and start task time on resize.

How the default GanttDragResizeVisualCueTemplate is computing theses 2 properties ?

Regards,

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 10 Mar 2020, 09:52 AM

Hello Andréa,

Can you share why you need to manually compute these values? By default the DataContext that is received in the GanttDragResizeVisualCueTemplate allows you to access them and you should be able to utilize them. You can access them by binding to the DestinationSlot.Start and DestinationSlot.End property of the DataContext. 

If such an approach is not suitable for your scenario, can you elaborate on it so that I can get a better understanding of it and further assist you?

I am looking forward to your reply.

Regards,
Vladimir Stoyanov
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.
Asked by
Andréa
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or