O'Reilly logo

Learning Kendo UI Web Development by John Adams

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring the Calendar widget

Since the Calendar widget only has a few properties, let's start by examining them and then move on to examples in using them. The calendar widget has two different types of properties:

  • Data/template properties: These properties configure the data behind the calendar widget
  • Display/formatting properties: These properties configure how the calendar is rendered on the page and how that data is formatted

Here are these properties listed in code format. Add this code to the page and run it:

$("#calendar").kendoCalendar({ culture: 'en-US', // specifies the culture depth: 'month', // specifies navigation depth //(century/decade/month/year) max: new Date(2012,11,31), // latest date calendar can show min: new Date(1980, 0, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required