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

Extend Agenda View to Display One Day at a Time

1 Answer 219 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Allan
Top achievements
Rank 1
Allan asked on 14 May 2015, 09:02 PM
Is it possible to create a custom view that extends the agenda view to display only one day at time?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 18 May 2015, 07:21 AM
Hello Allan,

I used the sample from this forum thread which shows how to extend the agenda view: http://dojo.telerik.com/@korchev/akewO

The relevant code is this:

 var CustomAgenda = kendo.ui.AgendaView.extend({    
     endDate: function() {
       return this.startDate();
     }

   });
  
    $("#scheduler").kendoScheduler({
        date: new Date("2013/6/13"),
        startTime: new Date("2013/6/13 07:00 AM"),
        height: 600,
        views: [
          { type: CustomAgenda, title: "Custom Agenda" }          
        ],

Regards,
Atanas Korchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Scheduler
Asked by
Allan
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or