开发者

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:

  1. I have two events: event1, event2 coming from a database and when FullCalendar initializes, I add them to the Calendar, displays well.
  2. Then I add another event: event3 to calendar, can display well.
  3. I go to next month.
  4. 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);

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜