Skip to main content

wbs

PRO

The functionality is available in PRO Edition only

Description​

Enables Work Breakdown Structure (WBS) numbering in the Gantt grid

Usage​

wbs?: boolean;

Parameters​

  • wbs - enables/disables WBS numbering:
    • false (default) — WBS is disabled
    • true — enables WBS numbering and prepends a WBS column to the grid

Example​

<script setup>
import { Gantt } from "@svar/vue-gantt";
import { getData } from "./data";

const { tasks, links, scales } = getData();
</script>

<template>
<Gantt
:tasks="tasks"
:links="links"
:scales="scales"
:wbs="true"
/>
</template>

Related articles: