我试图在调用 viewDisplay 函数时重新加载我的事件数据(JSON),但不确定我如何称呼它?
$('#calendar').fullCalendar({
defaultView: '@Model.ScheduleView',
editable: true,
events: '/Schedule/GetSchedule',
viewDisplay:function (view) {
if (view.name == "resourceDay") {
//Call refresh of events to fire ('/Schedule/GetSchedule') <---- This line
}
}