Scheduler Timeline View

2 posts, 0 answers
  1. Chris Holmes
    Chris Holmes avatar
    4 posts
    Member since:
    Aug 2009

    Posted 12 Aug 2011 Link to this post

    Is there a way I can set the start time and end time (working hours)  of a day in timeline view? 
    Assuming the timescale is Days?

    SchedulerTimelineView v = productionScheduler.GetTimelineView();
    v.StartDate = DateTime.Today.AddDays(-6)
    v.ShowTimescale(Timescales.Days);
    ??v.DayStartTime??
    ??v.DayEndTime??


    Thanks in advance,

  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 16 Aug 2011 Link to this post

    Hello Chris,

    Thank you for writing.

    Since your timescale is Days, all appointments will always take the whole space for the day, and limiting the working hours is not possible. The only thing that you can do (if it works for you) is to edit the Edit Appointment dialog and set ranges of the Start time and End time hour pickers. However, this approach will only handle the appointments added by the dialog and those added by using inline editor will be all day appointments.

    I hope that you find this information useful.
     
    All the best,
    Stefan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top