Open animaYundi opened 6 years ago
HI, do you mean something like when you change the year that the customDataSourceRenderer is not being used or something like that? If it's use the event yearChanged
You can see it by example on #71
In case you don't see where's yearChanged
event check #139
It's an event driven rendering in my case not related with years. I'm trying something like this;
$('#calendar').calendar({
customDataSource: aCustomEventSource,
customDataSourceRenderer: function(element, date, events) {
//some custom styling here
}
})
//customDataSourceRendering succeeded.
.....
.somethingHappenedAtMyRuntime(function (){
newCustomEventSource = $.get("/newEventList");
$('#calendar').data('calendar').setDataSource(newCustomEventSource);
//customDataSourceRendering failed!!
})
thanks.