unscheduledTasks
The functionality is available in PRO Edition only
PRODescription
Allows displaying and handling unscheduled tasksThe 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 areafalse- (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