Work Breakdown Structure (WBS) in Gantt Control

18 Nov 20181 minute to read

The Work Breakdown Structure (WBS) is a hierarchical numbering system that assigns unique and structured codes to each task, reflecting their positions within the overall project. This feature ensures data consistency and a clear, organized project view during operations such as sorting, filtering, editing, and drag-and-drop.

Configuration and implementation

To enable and configure WBS in your Gantt component:

  • Enable WBS Codes: Set the EnableWBS property to true to automatically generate unique task codes and their predecessors.
  • Auto-Update Codes: Set the EnableAutoWbsUpdate property to true to maintain WBS code accuracy during operations like sorting, filtering, editing, or drag-and-drop.

Managing WBS code updates

For better performance, you can control when WBS codes are updated by using the ActionBegin and DataBound events. This is particularly useful during actions like dragging and dropping rows.

In the following example, WBS auto-update is enabled only during the row drag and drop action using these events.

Limitations

The WBS feature has a few limitations in the Gantt component:

  • Editing of the WBS code and WBS predecessor columns is not supported.
  • Load on demand is not supported with the WBS feature.
  • WBS Code and WBS Predecessor fields cannot be mapped directly from the data source.