Closed PedroYuriAlves closed 1 year ago
editable option is not working, neither in master editable nor for each event.
new EventCalendar(document.getElementById('calendar'), { view: 'timeGridWeek', height: '800px', headerToolbar: { start: 'prev,next today', center: 'title', end: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek resourceTimeGridWeek' }, buttonText: function (texts) { texts.resourceTimeGridWeek = 'resources'; return texts; }, resources: [ { id: 1, title: 'Resource A' }, { id: 2, title: 'Resource B' } ], scrollTime: '09:00:00', events: createEvents(), views: { timeGridWeek: { pointer: true }, resourceTimeGridWeek: { pointer: true } }, dayMaxEvents: true, nowIndicator: true, editable: false });
Please see this comment.
Thanks, works just fine! :)
editable option is not working, neither in master editable nor for each event.
new EventCalendar(document.getElementById('calendar'), { view: 'timeGridWeek', height: '800px', headerToolbar: { start: 'prev,next today', center: 'title', end: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek resourceTimeGridWeek' }, buttonText: function (texts) { texts.resourceTimeGridWeek = 'resources'; return texts; }, resources: [ { id: 1, title: 'Resource A' }, { id: 2, title: 'Resource B' } ], scrollTime: '09:00:00', events: createEvents(), views: { timeGridWeek: { pointer: true }, resourceTimeGridWeek: { pointer: true } }, dayMaxEvents: true, nowIndicator: true, editable: false });