| Issue 657: | render event does not work, where as addEventSource does | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hi, Thanks for this great plugin. .fullCalendar( 'renderEvent', event [, stick ] ) does not work.You can reproduce this by running js console on: http://arshaw.com/js/fullcalendar/examples/json.html $('#calendar').fullCalendar( 'renderEvent', [{id:1 , title: 'New event', start: new Date()}], true); $('#calendar').fullCalendar( 'refetchEvents' ); $('#calendar').fullCalendar( 'rerenderEvents' ); Hence as a workaround I use: $('#calendar').fullCalendar( 'addEventSource', [{id:1 , title: 'New event', start: new Date()}]);
Oct 7, 2010
Project Member
#1
adamrs...@gmail.com
Status:
Reproducing
Oct 11, 2010
this is because your renderEvent call should not use an array. should use a single event object...
$('#calendar').fullCalendar( 'renderEvent', {id:1 , title: 'New event', start: new Date()}, true);
Status:
Done
Jul 31, 2013
The following is an event generated by a php script i wrote:
{"id":280798,"title":"sarasereasr","allDay":true,"start":"2013-06-14T16:46:35+0200","description":"","place":"","participants":[],"public":false,"type":"Termin","end":"2013-06-14T16:46:35+0200"}
This one however doesn't get rendered. I've even condensed it down to id, start and title and in a second step used your parseISO6801 function for the start property. Neither helped; the event just doesn't get rendered although it seems to be processed in some way since properties are added to the event object.
|
|
| ► Sign in to add a comment |