I am using full calendar and i am setting the defaultView to listMonth like this:
var events= [... this.events,
{
"title": "a title"
"start": "a date",
type: "X"
},
{
"title": "a title 2"
"start": "a date 2",
type: "Y"
}
];
$("#calendar").fullCalendar({
...
defaultView: "listMonth",
eventRender: function (event, element) {
if(event.type=="X")
$(".fc-event-dot").css('background-color', '#2a7568 !important'); //does nothing
if(event.type=="Y")
$(".fc-event-dot").css('background-color', '#fff!important'); //does nothing
}
});
how can i change the the color of the dot?