Skip to main content

unscheduledTasks

The functionality is available in PRO Edition only

PRO

Description

Allows displaying and handling unscheduled tasks

The property allows showing unscheduled tasks only in the grid with tasks tree. No task bar is displayed in the Chart itself. In the tasks tree area, columns like Start and Duration display a hyphen (-) for unscheduled tasks.

Usage

unscheduledTasks?: boolean;

Parameters

  • true - displays unscheduled tasks in the tasks tree area
  • false - (default) unscheduled tasks are not displayed

Example

import { getData } from "./common/data";
import { Gantt } from "@svar/react-gantt";

const data = getData();

export default function Demo() {
const tasks = data;

return <Gantt tasks={tasks} unscheduledTasks={true} />;
}

Related articles: Managing unscheduled tasks