DayPilot.Scheduler.autoRefreshCommand

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.

Declaration

DayPilot.Scheduler.autoRefreshCommand

Default Value

"refresh"

Notes

If AutoRefresh is enabled, Scheduler fires the command event periodically and uses this value as the command text on the server side.

Examples

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"
  <!-- ... -->
/>

See Also

AutoRefresh

DayPilot.Scheduler Class