eventConstraint can disable drag and drop beyond set boundaries
Gray in recent days
td.fc-day.fc-past { background-color: #EEEEEE; }
And for eventConstraint
eventConstraint: { start: moment().format('YYYY-MM-DD'), end: '2100-01-01' // hard coded goodness unfortunately }
http://jsfiddle.net/1qsrjffL/
For the "end" eventConstraint, you can add days to the current date if you like vs hard-code
EDIT:
To put out the time in day mode, you can use businessHours
businessHours: { start: moment().format('HH:mm'), end: '17:00', // 5pm? set to whatever dow: [0,1,2,3,4,5,6] // Day of week. If you don't set it, Sat/Sun are gray too }
Drop external events on the agenda. In past allowed. Editing eventConstraint to include time will work "YYYY-MM-DD HH: mm", but it prevents a fall today in the "Month" view ...
http://jsfiddle.net/1qsrjffL/1/
source share