im using fullcalendar jquery plugin in my web.
i have a problem in which after adding a new event to calendar , i have to press some View button in order to render my event to the calendar.
var myEvent = {
title: subject.toString(),
start: d1,
};
$("#calendar").fullCalendar( 'renderEvent', myEvent, true );
$("#calendar").fullCalendar( 'rerenderEvents' );
suggestions?
Thanks.
Looks like you have the calendar in a hidden DIV. If you add the render/rerender calls to the function that shows/unhides this DIV, then the events should render correctly.