Event "onDayChanged" ?

Hallo

I’m using Scheduler in “day” mode and need to notice when day is changing (next/prev Button or ICal). Is there any Event?

Thank you.

Best regards
Oliver

Hello,
try onViewChange or onBeforeViewChange events
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/api__s … event.html

Hello

I already tried this but wasn’t the correct event. This one fires when i cange view. I need an event when i change the actual day in “day” mode.

onBeforeViewChange is a correct event. You can check ‘previous’ and ‘new’ modes of the calendar (they are passed as an arguments). If both of them equals ‘day’ - that means that date is changed in day mode