Custom GanttDragResizeVisualCueTemplate

2 posts, 0 answers
  1. Andréa
    Andréa avatar
    3 posts
    Member since:
    Apr 2017

    Posted 05 Mar Link to this post

    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,

  2. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    705 posts

    Posted 10 Mar Link to this post

    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.
Back to Top