Everything worked until I started pumping in more options and more records.
Now it only does the background color correctly.
The text color is matching the other differently colored backgrounds of the other events instead of black event though the background is showing up green as it should…
I wonder if the color schemes are ignored in the DHTMLX library under certain conditions.
TIA
-David
Notes:
.dhx_cal_event.event_is_confirmed div,
.dhx_cal_event_line.event_is_confirmed{
background-color: green !important;
color: black !important;
}
.dhx_cal_event_clear.event_is_confirmed{
color: green !important;
}
scheduler.templates.event_class=function(start, end, event){
// custom color
if (1==2) { }
else if (
event.canceled == '1'
)
{
return "event_canceled";
}
else if (
event.is_private == '1'
)
{
return "event_is_private";
}
else if (
event.is_confirmed == '1'
)
{
return "event_is_confirmed";
}