DayPilot.Month.onAutoRefresh

The onAutoRefresh event is fired in the specified intervals (autoRefreshInterval) if if auto refresh is enabled.

In ASP.NET WebForms, ASP.NET MVC and Java versions it is fired before the server side event.

Declaration

DayPilot.Month.onAutoRefresh(args)

Parameters

  • args.i - ordinal number of this autorefresh call
  • args.preventDefault() - allows to cancel this autorefresh call

Example

dp.onAutoRefresh = function(args) {
  dp.events.load("/getEvents");
};