A newer version of this page is available. Switch to the current version.

GanttViewSettings.ShowResources Property

Specifies whether to display task resources.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v20.2.dll

Declaration

[DefaultValue(true)]
public bool ShowResources { get; set; }

Property Value

Type Default Description
Boolean

true

true, to display task resources; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowResources
ASP.NET MVC Extensions GanttSettings
.SettingsGanttView.ShowResources
MVCxGantt
.SettingsGanttView.ShowResources
ASP.NET Web Forms Controls ASPxGantt
.SettingsGanttView.ShowResources

Remarks

<dx:ASPxGantt ID="Gantt" runat="server" ...>
    <Columns>
        <dx:GanttTextColumn FieldName="Subject" />
        <dx:GanttDateTimeColumn FieldName="StartDate" DisplayFormat="MM\/dd\/yyyy" />
        <dx:GanttDateTimeColumn FieldName="EndDate" DisplayFormat="MM\/dd\/yyyy" />
    </Columns>
    <SettingsGanttView ShowResources="false" />
</dx:ASPxGantt>

Run Demo: (Web Forms) Gantt Chart Appearance

Run Demo: (MVC) Gantt Chart Appearance

View Example: How to edit Gantt data

Concept

See Also