I am using vue js with fullcalendar but now i have a problem, i cant see fetched data cuse i have changed start, end from db table and replace with event_start, event_end. Is there any option i can use to fetch this custom field and to display again my data on calendar?
data() {
return {
calendarOptions: {
plugins: [
dayGridPlugin,
interactionPlugin,
timeGridPlugin,
listPlugin,
bootstrap5Plugin
],
height: 650,
eventColor: '#695CFE',
initialView: 'dayGridMonth',
headerToolbar: {
left: 'prev,next today',
center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth'
},
dateClick: this.handleDateClick,
navLinks: true,
dayMaxEvents: true,
editable: true,
selectable: true,
weekends: true,
allDay: true,
themeSystem: 'bootstrap5',
select: this.selectEventFunction,
eventSources: [
{
events: function(fetchInfo, successCallback, failureCallback) {
axios.get('/getEvent').then(response => {
successCallback(response.data.data)
});
}
}
]
},
}
},