This is a migrated thread and some comments may be shown as answers.

Customize Scheduler

1 Answer 198 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
mtugnoli
Top achievements
Rank 1
mtugnoli asked on 21 Jun 2018, 08:31 AM

Hi,

I have to create a room reservation calendar,

I see this sample https://demos.telerik.com/aspnet-core/scheduler/timeline and have some questions :

1) Is it possible set ".Resources(resource => ..." server side ?

2) I need only MONTH view, so is possible don't have the HOURS row ?

3) When I drag an item from cell to enother or resize an item,  is there a validation system ? (if can't be done, the operation must be canceled)

4) Scheduler can be exported (pdf/excel) like grid ?

 

Thank you

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 25 Jun 2018, 11:29 AM
Hello Marco,

The demo linked uses the Resources bound from server-side. If you are to fetch data through the model, you can use it instead of the array in the BindTo method.

To show only one view you can adjust the Views method: 

.Views(views =>
    {
        views.TimelineMonthView(timeline =>
        {
            timeline.StartTime(new DateTime(2013, 6, 13, 00, 00, 00));
            timeline.EndTime(new DateTime(2013, 6, 13, 00, 00, 00));
            timeline.MajorTick(1440);
            timeline.EventHeight(50);
        });
    })

There is no built-in validation, but you can use the client-side events to do that: https://docs.telerik.com/kendo-ui/api/javascript/ui/scheduler#events

The Scheduler can be exported only to PDF: https://demos.telerik.com/aspnet-core/scheduler/pdf-export

Regards,
Ianko
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Scheduler
Asked by
mtugnoli
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or