DayPilot.Gantt.autoRefreshEnabled

The autoRefreshEnabled property (boolean) enables the AutoRefresh feature.

Declaration

DayPilot.Gantt.autoRefreshEnabled

Default Value

false

Notes

When enabled, the Gantt chart starts sending periodic auto-refresh requests.

Use DayPilot.Gantt.autoRefreshInterval to set the delay between requests, DayPilot.Gantt.autoRefreshMaxCount to limit how many requests are sent, and DayPilot.Gantt.autoRefreshCommand to define the command text.

Examples

JavaScript

const gantt = new DayPilot.Gantt("dp", {
  autoRefreshEnabled: true,
  // ...
});
gantt.init();

Angular

<daypilot-gantt [config]="config"></daypilot-gantt>
config: DayPilot.GanttConfig = {
  autoRefreshEnabled: true,
  // ...
};

React

<DayPilotGantt
  autoRefreshEnabled={true}
  {/* ... */}
/>

Vue

<DayPilotGantt
  :autoRefreshEnabled="true"
  <!-- ... -->
/>

See Also

DayPilot.Gantt.autoRefreshCommand

DayPilot.Gantt.autoRefreshInterval

DayPilot.Gantt.autoRefreshMaxCount

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript