• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Task Scheduling Mode in ASP.NET MVC Gantt Chart Control

The Gantt provides support for automatic and manual task scheduling modes. Scheduling mode of a task is used to indicate whether the start and end dates of a task will be automatically validated or not. Using the property taskMode we can able to change the scheduling mode of a task. The following are the enumeration values that can be set to the property taskMode.

  • Auto
  • Manual
  • Custom
DEMO
SOURCE

When the taskMode property is set as Auto scheduling mode, all the tasks in the project will be rendered as automatically scheduled tasks. Thus the start and end dates of the tasks in the project will be automatically validated.

When the taskMode property is set as Manual scheduling mode, all the tasks in the project will be rendered as manually scheduled tasks. Thus the dates of the tasks will not get validated automatically by the system.

When the taskMode property is set as Custom, the scheduling mode for each tasks will be mapped form the data source field. The property manual is used to map the scheduling mode field from the data source.

Gantt component features are segregated into individual feature-wise modules. To use editing feature, inject the Edit module using the Gantt.Inject(Edit) method. To use a selection, inject the Selection module using the Gantt.Inject(Selection) method, and to use toolbar by injecting the Toolbar module using the Gantt.Inject(Toolbar) method.