Need date range change event?

Hi,

onViewChange triggers every time, when event is added, or deleted etc…
But I am interested in event when dates view range has changed?
When user clicks on:
dhx_cal_prev_button
dhx_cal_next_button

Is there an event for that?
Need that event so each time date range has changed, I load appointment by service call.

Hello,

onViewChange triggers every time, when event is added, or deleted etc…
By default this event doesn’t occur in these cases, but occurs by click on prev and next buttons. Check the demo below:
docs.dhtmlx.com/scheduler/snippet/ef106b13

You are completely right :slight_smile:

It was my fault, that I was calling
scheduler.setCurrentView();
each time I add/delete/modify an appointment which triggers onViewChange each time.

thanks for your help :slight_smile: