25
Views
1
Comments
[ImageToolbox] fullCalendar reactive extendedProps
imagetoolbox
Web icon
Forge asset by João Quitério
Application Type
Reactive

Hi,

Has anybody managed to access the extendedProps of resources in fullCalendar reactive. I am using the following code which is successful at printing to the console but only shows one of my values. For example my resource object/structure contains several custom values including "depot_id", "score" etc etc but only depot_id is visible in the console.

resourceRender: function(renderInfo){
console.log(renderInfo.resource._resource.extendedProps);// this is only printing depot_id
renderInfo.el.style.backgroundColor = 'blue';

}

2024-11-26 02-40-16
You You

Could someone please tell me the answer to this comment? 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.