I have a date picker on my page that I am trying to disable all days except Sunday when a value is selected in a Kendo Drop Down. My function is below. The function is called but I am not sure how to or if I can set the disabled dates this way. Can anyone point me in the right direction of syntax to do this?
I have tried
function dropdownChanged() {
var startdate = $("#startdate").data("kendoDatePicker");
//tried this with no luck
var start_disabled = ["mo", "tu", "we", "th", "fr", "sa"];
startdate.disableDates(start_disabled);
}
Thanks!