FullCalendar: resize event not working in month view

Discussão em 'Angular' iniciado por Sarah De Cock, Setembro 12, 2024.

  1. I'm working on a Angular 10 project. I am using fullcalendar.io

    When I want to resize a event, but does it do nothing. I have tried this: https://fullcalendar.io/docs/eventResize. It works in the demo app: https://fullcalendar.io/#demos

    calendarOptions: CalendarOptions = {
    headerToolbar: {
    left: 'prev,next today',
    center: 'title',
    right: 'dayGridMonth'
    },
    initialView: 'dayGridMonth',
    dateClick: this.handleDateClick.bind(this), // bind is important!
    weekends: false,
    events: this.convertBookingProjectsToEvents(),
    editable: true,
    selectable: true,
    };

    eventResize(info) {
    alert(info.event.title + ' end is now ' + info.event.end.toISOString());

    if (!confirm('is this okay?')) {
    info.revert();
    }
    }



    How can I make this work?

    Kind regards

    Continue reading...

Compartilhe esta Página