New to Kendo UI for jQueryStart a free 30-day trial

Set the First Weekday in a DatePicker

Environment

ProductProgress® Kendo UI® DatePicker for jQuery
Operating SystemWindows 10 64bit
Visual Studio VersionVisual Studio 2019
Preferred LanguageJavaScript

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
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support