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

Methods available on the Calendar widget

The Calendar widget exposes several methods that can be used to interact with it on the page. These methods can be used to configure the widget by changing its properties or firing specific functionality in real time. Here is a code form of the available methods specific to the Kendo UI Calendar widget:

var calendar = $("calendarId").data("kendoCalendar"); // Set a new max date calendar.max(new Date(2013,11,31)); // Retrieve the current max date var lastDay = calendar.max(); // Set a new min date calendar.min(new Date(2011, 11, 31); // Retrieve the current min date var oldestDay = calendar.min(); // Navigate to a specific date using a specific view calendar.navigate(new Date(2012,2,5), "month"); // Navigate ...

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