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.floatingTasksDefault Value
trueNotes
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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot