Here’s my code:
var inst = $('#staffschedule').mobiscroll5().eventcalendar({
locale: mobiscroll.localeEn,
display: 'inline',
calendarHeight: 600,
themeVariant: 'light',
responsive: {
xsmall: {
view: {
calendar: {type: 'month'},
agenda: {type: 'month'}
}
},
small: {
view: {
calendar: {type: 'month'}
}
}
},
onEventSelect: function (event, inst) {
mobiscroll.toast({
message: event.event.text
});
}
}).mobiscroll5('getInst');
inst.setEvents(JSON.parse(data));
My calendar is showing only dots for events on Dec 21 and 22nd, but in all your demos the calendar displays events with labels and colours.
How do I get my scheduler to show events with labels and colours?