<kendo:dateTimePicker-label>

Adds a label before the datetimepicker. If the datetimepicker has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.

Example

<kendo:dateTimePicker>
    <kendo:dateTimePicker-label></kendo:dateTimePicker-label>
</kendo:dateTimePicker>

Configuration Attributes

content java.lang.String

Sets the inner HTML of the label.

Example

<kendo:dateTimePicker-label content="content">
</kendo:dateTimePicker-label>

floating boolean

If set to true, the widget will be wrapped in a container that will allow the floating label functionality.

Example

<kendo:dateTimePicker-label floating="floating">
</kendo:dateTimePicker-label>

Event Attributes

content String

Sets the inner HTML of the label.

Example

<kendo:dateTimePicker-label content="handle_content">
</kendo:dateTimePicker-label>
<script>
    function handle_content(e) {
        // Code to handle the content event.
    }
</script>

Event Tags

kendo:dateTimePicker-label-content

Sets the inner HTML of the label.

Example

<kendo:dateTimePicker-label>
    <kendo:dateTimePicker-label-content>
        <script>
            function(e) {
                // Code to handle the content event.
            }
        </script>
    </kendo:dateTimePicker-label-content>
</kendo:dateTimePicker-label>
In this article
Not finding the help you need?