jquery - Fullcalendar (angular) disable/hide dates out of range -


i disable (preferably) or hide (less preferably) dates outside contract timespan. let's contract runs 1 through 31 july, want have other days disabled or hidden.

i've managed gray cells out, problem being cells still selectable!

here's issue

edit: here's snippet of code i've tried (disable day render if date out of range)

$scope.dayrender = function (date, cell) { if (moment(date) > $scope.settings.contractend || moment(date) < $scope.settings.contractstart) {         return false;     } }; 


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -