Unplanned
Last Updated: 30 Jun 2020 14:21 by ADMIN
How PK
Created on: 30 Jun 2020 09:12
Category: Scheduler
Type: Feature Request
1
Set overnight display
I would like to be able to set overnight display for the Scheduler, for example, to see overnight working shifts. 
3 comments
ADMIN
Svetoslav Dimitrov
Posted on: 30 Jun 2020 14:21

Hello,

Until this Feature Request is implemented the possible solution is to use the workaround from my previous post. 

Regards,
Svetoslav Dimitrov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
How PK
Posted on: 30 Jun 2020 11:20

Then is it possible for the Start Time to start at 5am?

We have a requirement for 5am to 5am working hours.

ADMIN
Svetoslav Dimitrov
Posted on: 30 Jun 2020 11:12

Hello,

As a workaround you can setup the scheduler as following:

 

<TelerikScheduler Data="@Appointments" @bind-Date="@StartDate" @bind-View="@CurrView" Height="600px" Width="800px">
    <SchedulerViews>
        <SchedulerDayView StartTime="@DayStart" />
        <SchedulerWeekView StartTime="@DayStart" EndTime="@DayEnd" />
        <SchedulerMultiDayView StartTime="@DayStart" NumberOfDays="10" />
    </SchedulerViews>
</TelerikScheduler>

@code {
    public DateTime StartDate { get; set; } = new DateTime(2019, 11, 29);
    public SchedulerView CurrView { get; set; } = SchedulerView.Week;
    public DateTime DayStart { get; set; } = new DateTime(2019, 1, 12, 0, 0, 0);
    public DateTime DayEnd { get; set; } = new DateTime(2019, 1, 12, 23, 59, 59);
    List<SchedulerAppointment> Appointments = new List<SchedulerAppointment>()
{
            new SchedulerAppointment
            {
                Title = "My event",
                Description = "The cat needs vaccinations and her teeth checked.",
                Start = new DateTime(2019, 11, 26, 5, 0, 0),
                End = new DateTime(2019, 11, 27, 5, 0, 0)
            }
    };

    public class SchedulerAppointment
    {
        public string Title { get; set; }
        public string Description { get; set; }
        public DateTime Start { get; set; }
        public DateTime End { get; set; }
        public bool IsAllDay { get; set; }
    }
}

 

Regards,
Svetoslav Dimitrov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.