enable
Enables or disables the widget.
Parameters
enable Boolean
If true
, the widget will be enabled. If false
, the widget will be disabled.
Example - enable the widget
<input id="timedurationpicker" />
<script>
var picker = $("#timedurationpicker").kendoTimeDurationPicker({
columns: [ "hours", "minutes" ],
enable: false
}).data('kendoTimeDurationPicker');
picker.enable(true);
</script>
Example - disable the widget
<input id="timedurationpicker" />
<script>
var picker = $("#timedurationpicker").kendoTimeDurationPicker({
columns: [ "hours", "minutes" ],
enable: false
}).data('kendoTimeDurationPicker');
picker.enable(false);
</script>