How to create removeEvents?
See original GitHub issueHi,
I am tried add removeEvent use EventRender or EventClick, but both is not working.
this.calendarOptions = { editable: true, eventLimit: false, header: { left: 'prev', center: 'title', right: 'next' }, events: [ { title: ' New event New event New event New event New event New event New event New event ', start: '2018-03-26', end: '2018-03-29', } ], eventAfterAllRender: function(view) { <--- working console.log('after render'); }, eventRender: function (event, element) { <-- not working alert('eventRender'); element.find('.content-right').click(function () { $('div#calendar').fullCalendar('removeEvents', event._id); }); }, eventClick: function(view){ <-- not working alert('eventClick'); }, };
Thank you
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (6 by maintainers)
Top GitHub Comments
I need to add a new property for the output(may be), create please a small project with a problem
this issue deprecated. fullcalendar@4.0.0 released without Jquery, try use ng-fullcalendar@2.0.0 with fulcalendar plugins