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

javascript - Parallax scrolling and fixed footer code causing width issues -

sql - can we replace full join with union of left and right join? why not? -

iOS: Performance of reloading UIImage(name:...) -