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

Hide the Default DatePicker Button

Environment

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

Description

How can I hide the default button of the DatePicker in the Kendo UI for jQuery DatePicker?

Solution

The following example demonstrates how to hide the default button of the DatePicker by using CSS.

    <input id="datepicker" value="10/10/2011" style="width:150px;" />
    <script>
      $(document).ready(function() {
        $("#datepicker").kendoDatePicker();
      });
    </script>
    <style>
      .k-datepicker .k-button {
        display: none;
      }
    </style>

See Also