KendoUI Datepicker Disable Weekend Days

The below code is an example of how to disable weekend days in the KendoUI datepicker. If other days are needed you can simply change the “if” condition to specify which day (0 is Sunday and 6 is Saturday). This does not prevent the user from entering the date directly into the text box, this only affects the selection from the calendar.

Plunker link has a working example:
http://plnkr.co/edit/oYYwM4DtNNcMgwnP2of9?p=preview