Skip to content Skip to sidebar Skip to footer

How To Get Resource Id On Eventreceive In Resourcetimegridday In Fullcalendar

I am trying to drop an external event into a resourceTimeGridDay but can't find the current resource id in the view. Where in the info object is the resource id listed?

Solution 1:

Problem is solved.

info.event.getResources() will return an array of resources.

Here is the solution: https://github.com/fullcalendar/fullcalendar/issues/5215#event-2936400933

Solution 2:

The resource is in : info.event._def.resourceIds

console.log('eventReceive', info.event._def.resourceIds);

Post a Comment for "How To Get Resource Id On Eventreceive In Resourcetimegridday In Fullcalendar"