toggle
Toggles the calendar or the time drop-down list.
Parameters
view String
The view of the DateTimePicker, expressed as a string. Available views are "time" and "date".
Example - toggle the calendar popup
<input id="datetimepicker" />
<button id="toggle">Toggle</button>
<script>
$("#datetimepicker").kendoDateTimePicker();
var datetimepicker = $("#datetimepicker").data("kendoDateTimePicker");
$("#toggle").click(function() {
datetimepicker.toggle("date");
});
</script>
Example - toggle the time popup
<input id="datetimepicker" />
<button id="toggle">Toggle</button>
<script>
$("#datetimepicker").kendoDateTimePicker();
var datetimepicker = $("#datetimepicker").data("kendoDateTimePicker");
$("#toggle").click(function() {
datetimepicker.toggle("time");
});
</script>