The autoRefreshCommand property (string) specifies the command name used when AutoRefresh triggers the Scheduler command event. The value is available as the command text in the server-side Command event handler.
It only applies to ASP.NET WebForms, ASP.NET MVC and Java.
DayPilot.Scheduler.autoRefreshCommand"refresh"If AutoRefresh is enabled, Scheduler fires the command event periodically and uses this value as the command text on the server side.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
autoRefreshCommand: "autorefresh",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
autoRefreshCommand: "autorefresh",
// ...
};React
<DayPilotScheduler
autoRefreshCommand="autorefresh"
{/* ... */}
/>Vue
<DayPilotScheduler
autoRefreshCommand="autorefresh"
<!-- ... -->
/>