Extend Agenda View to Display One Day at a Time

2 posts, 0 answers
  1. Allan
    Allan avatar
    5 posts
    Member since:
    Aug 2011

    Posted 14 May 2015 Link to this post

    Is it possible to create a custom view that extends the agenda view to display only one day at time?
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 18 May 2015 Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top