angular - Disable future date in Kendo UI Calendar Widget -


how possible disable (basically mean greying out) future dates in kendo ui calendar widget? have tried hide future dates not seem , have tried various way grey out not finding proper method? ideas appreciated.

the disabledates options(that have find out yourself) function expects told whenever should display day. have return true if valid date, e.g.:

disabledates: function (date) {     return (date && date.gettime() > (new date()).gettime()); } 

demo


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -