The startAutoRefresh(force) method starts calendar auto-refresh.
Declaration
DayPilot.Calendar.startAutoRefresh(force)Parameters
force(boolean) - starts auto-refresh even whenautoRefreshEnabledisfalse
Example
const calendar = new DayPilot.Calendar("dp", {
autoRefreshEnabled: false,
// ...
});
calendar.init();
calendar.startAutoRefresh(true);See Also
DayPilot.Calendar.autoRefreshEnabled
DayPilot.Calendar.stopAutoRefresh()
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot