highlight current event

Hi,

I was wondering if it is possible to highlight the currently ongoing Event in the month,week and date view by default.

Right now I have to run an extra timer and iterate to my whole JSON array to get the current event and then update the event.

Does anyone has a better idea?

Hi,
usually it’s done using event_class template - each time event is refreshed, you can check it’s dates and assign an appropriate css class. In order to keep highlighting up to date you can redraw scheduler every couple of minutes. Please check the demo docs.dhtmlx.com/scheduler/snippet/6cb71009

docs.dhtmlx.com/scheduler/api__s … plate.html