New to Kendo UI for jQuery? Download free 30-day trial

Set the First Weekday in a DatePicker

Environment

Product Progress Kendo UI DatePicker for jQuery
Operating System Windows 10 64bit
Visual Studio version Visual Studio 2019
Preferred Language JavaScript

Description

How can I set the default weekday of the DatePicker in the Kendo UI for jQuery DatePicker?

Solution

The following example demonstrates how to set the default weekday of the DatePicker by using the culture method.

    <input id="datepicker" />

    <script>
      // The first weekday will be Wednesday.
      kendo.culture().calendar.firstDay= 3;

      $("#datepicker").kendoDatePicker();
    </script>
In this article