DayPilot.Gantt.visible

The visible property (boolean) sets the visibility of the Gantt Chart component.

Declaration

DayPilot.Gantt.visible

Default Value

true

Examples

JavaScript

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

Angular

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

React

<DayPilotGantt
  visible={false}
  {/* ... */}
/>

Vue

<DayPilotGantt
  :visible="false"
  <!-- ... -->
/>

See Also

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript