DayPilot.Gantt.floatingTasks

The floatingTasks property (boolean) controls whether DayPilot.Gantt uses special floating elements for long task boxes that start outside the current viewport so the task text stays readable.

Declaration

DayPilot.Gantt.floatingTasks

Default Value

true

Notes

When enabled, the floating element displays the task box text for long tasks that start before the visible horizontal range.

Examples

JavaScript

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

Angular

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

React

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

Vue

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

See Also

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript