All docs
V19.2
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttSettings.SettingsTaskList Property

Provides access to the task list settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public GanttSettingsTaskList SettingsTaskList { get; }
Public ReadOnly Property SettingsTaskList As GanttSettingsTaskList

Property Value

Type Description
GanttSettingsTaskList

Contains task list settings.

Remarks

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.CallbackRouteValues = new { Controller = "Features", Action = "AppearancePartial" };

    settings.SettingsTaskList.Width = Unit.Percentage(45);
    settings.SettingsTaskList.Columns.Add(new TaskDataColumn() { TaskField = GanttTaskField.Title, Width = Unit.Pixel(360) });
    settings.SettingsTaskList.Columns.Add(new TaskDataColumn() { TaskField = GanttTaskField.Start, Width = Unit.Pixel(100), DisplayFormat = "MM/dd/yyyy" });
    settings.SettingsTaskList.Columns.Add(new TaskDataColumn() { TaskField = GanttTaskField.End, Width = Unit.Pixel(100), DisplayFormat = "MM/dd/yyyy" });
    //...
}).Bind(GanttDataProvider.Tasks, GanttDataProvider.Dependencies, GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments).GetHtml()

Concept

Gantt Overview

Online Demo

Gantt - Appearance Customization

See Also