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

How to get the arclen between two curve points in Maya? -

C++ Linked List -

git svn - Unignore directories in git-svn (adding directories to a sparse checkout) -