GanttMappings.Resource Property
Gives access to the resource object’s mappings.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
GanttTaskResourceMappingInfo | Information about the mappings for the resource object. |
Remarks
Web Forms:
<dx:ASPxGantt ID="Gantt" runat="server" ...>
<Resource Key="ID" Name="Name" />
...
</dx:ASPxGantt>
MVC:
@Html.DevExpress().Gantt(settings => {
settings.Name = "gantt";
...
settings.Mappings.Resource.Key = "ID";
settings.Mappings.Resource.Name = "Name";
}).Bind(
GanttDataProvider.Tasks,
GanttDataProvider.Dependencies,
GanttDataProvider.Resources,
GanttDataProvider.ResourceAssignments
).GetHtml()
Examples
See Also