Skip to main content

GanttEditingSettings Class

Provides access to editing settings.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

Declaration

public class GanttEditingSettings :
    GanttSettingsBase

The following members return GanttEditingSettings objects:

Library Related API Members
ASP.NET Web Forms Controls ASPxGantt.SettingsEditing
ASP.NET MVC Extensions GanttSettings.SettingsEditing

Remarks

The GanttEditingSettings class provides settings to perform add, delete, and update functions.

Users can edit cell values in the Task List or use the chart’s context menu, dialog or another chart UI to manage tasks and their properties. The component saves changes on the server and updates the chart.

View Example: How to edit Gantt data

The Gantt stores a user’s changes and supports the ‘undo’ and ‘redo’ shortcuts (Ctrl+Z and Ctrl+Y).

Web Forms:

Run Demo: ASPxGantt - Data Binding and Editing

<dx:ASPxGantt ID="Gantt" runat="server" ... >
    // ...
    <SettingsEditing Enabled="False" />
</dx:ASPxGantt>

MVC:

Run Demo: MVCxGantt - Data Binding and Editing

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    ...
    settings.SettingsEditing.Enabled = false;
    ...
}).Bind(
    GanttDataProvider.Tasks, 
    GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, 
    GanttDataProvider.ResourceAssignments
).GetHtml()

Concepts

Implements

Inheritance

See Also