I think there is no way to refer to the parent calendar from this event. "this" refers to the event object. I did not understand that the view is also passed as the third parameter. I was able to accomplish this using the following code:
$('#calendar').fullCalendar({
events: $.fullCalendar.myFeed(),
eventRender: function (event, element, view) {
if (event.start.getMonth() != view.start.getMonth())
return false;
}
});
source
share