I went through other posts related to fullcalendar event color but it couldn't work for me.
I tried below
calendar.fullCalendar('renderEvent',{
id: resp[i].ID,
title: resp[i].desc,
start: s,
end: e,
allDay: true,
comments: resp[i].comments,
className: ["event", "greenEvent"],
eventColor: '#378006'
}
Also, tried by applying at calendar object:
disableDragging: false,
eventColor: '#378006',
//eventBackgroundColor: 'red',
eventClick:...
But this just make the events border color change but it does not change the event's background color change. Event's background color remains white only...
I have found, it uses - '.fs-event-inner' as a CSS which override runtime. I tried by changing at firebug and it shows event color changed. But, when I tried to dynamically change color through below, then it did not applied and work.
AJS.$('.fc-event-inner').css({"background":"red"});
Can any one please suggest me how it could be resolve and get the background color changed for events.
I am using this fullcalendar in JIRA.
renderEvent
object to just setcolor: '#378006'
, instead ofeventColor: '#378006'
? – Shaded