Hi,
I need a month in the YEAR view to be visible but disabled. I.E I do not want to set the max date for the datepicker but want the month to have a CSS that shows it to be disabled (like background-color:lightgray)
This works nicely for MONTH view :
I tried with the below code but it did not work. Invalid template error.
Do we have any template for YEAR view to customize month display?
I need a month in the YEAR view to be visible but disabled. I.E I do not want to set the max date for the datepicker but want the month to have a CSS that shows it to be disabled (like background-color:lightgray)
This works nicely for MONTH view :
I tried with the below code but it did not work. Invalid template error.
Do we have any template for YEAR view to customize month display?
startpicker.setOptions({ format: "MMMM, yyyy", value: startPickerValue.getMonth(), month: { content: "<div style='background-color:#= data.date < ($('#startDatePicker').data('kendoDatePicker').max()) > ? 'cyan' : 'lightgray' #'>#=data.value#</div>" } });