DayPilot.Calendar.startAutoRefresh

The startAutoRefresh(force) method starts calendar auto-refresh.

Declaration

DayPilot.Calendar.startAutoRefresh(force)

Parameters

  • force (boolean) - starts auto-refresh even when autoRefreshEnabled is false

Example

const calendar = new DayPilot.Calendar("dp", {
  autoRefreshEnabled: false,
  // ...
});
calendar.init();

calendar.startAutoRefresh(true);

See Also

DayPilot.Calendar.autoRefreshEnabled

DayPilot.Calendar.stopAutoRefresh()

DayPilot.Calendar Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript