Using DayPilot Javascript pro.
What I try to achieve is to have a different css class for different types of Events on a week Calendar so I can target their bar (class “calendar_default_event_bar”) using CSS selectors and set different styles.
I tried something like:
const dpEvent = new DayPilot.Event({
html: `<b>test</b>`,
barColor: `red`,
cssClass: `someClass`,
// ...
});
But it seems that “someClass“ is not outputed in the HTML.
Is it supposed to work? Is the error on my end?