TimePicker Customization

10 Aug 20171 minute to read

The TimePicker provides support to display a TimePicker in your web page and allows you to pick a time from it.

Creating TimePicker Widget

The following steps explains you to create a TimePicker widget.

In an HTML page, add a <input> element to configure TimePicker widget.

  • HTML
  • <input type="text" id="time" />
  • /// <reference path="tsfiles/jquery.d.ts" />
    /// <reference path="tsfiles/ej.web.all.d.ts" />
        // You can render TimePicker control as follows.
        $(function () {
            var timeSample = new ej.TimePicker($("#timepick"), {
                popupWidth: "400px",
                height: "60px",

    The following screenshot illustrates you a default TimePicker.