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!
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
Post a Comment