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

Gantt Chart
Scheduling Concepts
Task Scheduling Mode

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
1
Parent Task 1
Manual
2
Child Task 1
Auto
3
Child Task 2
Manual
4
Child Task 3
Auto
5
Parent Task 2
Manual
6
Child Task 1
Auto
7
Child Task 2
Auto
8
Child Task 3
Manual
9
Child Task 4
Manual
10
Parent Task 3
Manual
11
Child Task 1
Auto
12
Child Task 2
Auto
13
Child Task 3
Auto
14
Child Task 4
Manual
15
Child Task 5
Auto
Parent Task 1
Child Task 1
Child Task 2
Child Task 3
Parent Task 2
Child Task 1
Child Task 2
Child Task 3
Child Task 4
Parent Task 3
Child Task 1
Child Task 2
Child Task 3
Child Task 4
Child Task 5

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.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab