MVCxGantt.Settings Property
Provides access to the Gantt’s main settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
MVCxGanttSettings | An object that contains the Gantt’s options. |
Remarks
@Html.DevExpress().Gantt(settings => {
settings.Name = "gantt";
settings.CallbackRouteValues = new { Controller = "Gantt", Action = "FeaturesPartial" };
settings.Width = Unit.Percentage(100);
settings.KeyFieldName = "ID";
settings.ParentFieldName = "ParentID";
...
}).Bind(GanttDataProvider.Tasks, GanttDataProvider.Dependencies, GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments).GetHtml()
Online Demos
See Also