DateTimePicker Overview
The DateTimePicker combines the Kendo UI DateInput and Calendar components.
It enables the user to enter or pick a date and time value.
The DateTimePicker wrapper for Vue is a client-side wrapper for the Kendo UI DateTimePicker widget.
Basic Usage
The following example demonstrates the DateTimePicker in action.
Functionality and Features
- Disabled dates
- Date ranges and formats
- Active view and view depth
- Week number column
- Range selection
- Intervals
- Templates
- Keyboard navigation
- RTL support
Events
The following example demonstrates basic DateTimePicker events. You can subscribe to all DateTimePicker events by the handler name.
<div id="vueapp" class="vue-app">
<kendo-datetimepicker v-on:open="onOpen"
v-on:close="onClose"
style="width: 250px">
</kendo-datetimepicker>
</div>
Vue.use(DateinputsInstaller);
new Vue({
el: '#app',
methods: {
onOpen: function (e) {
console.log("DateTimePicker is opened");
},
onClose: function (e) {
console.log("DateTimePicker is closed");
}
}
})