vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views

Home Page:https://vkurko.github.io/calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Editable Option not Working

PedroYuriAlves opened this issue · comments

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! :)