GanttSettings.SettingsGanttView Property
Provides access to the Gantt’s view settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
GanttViewSettings | Object that contains the Gantt’s view settings. |
Remarks
@Html.DevExpress().Gantt(settings => {
settings.Name = "gantt";
...
settings.SettingsGanttView.ViewType = GanttViewType.Hours;
settings.SettingsGanttView.TaskTitlePosition = GanttTaskTitlePosition.Outside;
settings.SettingsGanttView.ShowResources = false;
...
}).Bind(
GanttDataProvider.Tasks,
GanttDataProvider.Dependencies,
GanttDataProvider.Resources,
GanttDataProvider.ResourceAssignments)
.GetHtml()
Examples
See Also