我试图清除事件然后重新填充。但是当我清除事件时,它并没有添加任何新事件。
var events = GetDayEventCount(month, year, zip, radius, categories);
$('.responsive-calendar').responsiveCalendar('clearAll');
$(".responsive-calendar").responsiveCalendar({
allRows: false,
events: events
});
答案 0 :(得分:0)
只需编辑功能已解决的问题
var events = ddt;
$(".responsive-calendar").responsiveCalendar({
events:ddt
});
$('.responsive-calendar').responsiveCalendar('edit', events);