Fullcalendar cannot display the new event when switch month back
I add a new event to fullcalendar, it displays well, but when I go to next month and switch back, it disappears! But the old event displays well, why? How can I display all events?
The detail like:
- I have two events: event1, event2 coming from a database and when FullCalendar initializes, I add them to the Calendar, displays well.
- Then I add another event: event3 to calendar, can display well.
- I go to next month.
- I switch back, I find only event1 and event2 display开发者_Python百科ed, and event3 disappeared?
Does anyone can help me? Thanks!
sounds like you could use the renderEvent method with the 'stick' parameters: http://arshaw.com/fullcalendar/docs/event_rendering/renderEvent/
$('#calendar').fullCalendar('renderEvent', {...}, true);
精彩评论