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

Agenda view customisation

1 Answer 103 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
jonno
Top achievements
Rank 1
jonno asked on 12 Dec 2013, 07:31 AM
Can you provide a code snippet on how to modify the agenda view? Specifically I want to modify the default headers Date, Time and Event to say something else.

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 12 Dec 2013, 08:46 AM
Hi jonno,

You can customize the text in the agenda view header via the time, event and date messages options.


<div id="scheduler"></div>
 
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  views: ["agenda"],
  messages: {
    time: "Time of the day",
    event: "Meeting",
    date: "Day"
  },
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
    }
  ]
});
</script>


Regards,
Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Scheduler
Asked by
jonno
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or