Back to Devexpress

GanttEditingSettings Class

aspnet-devexpress-dot-web-dot-aspxgantt-33d071bb.md

latest3.2 KB
Original Source

GanttEditingSettings Class

Provides access to editing settings.

Namespace : DevExpress.Web.ASPxGantt

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

NuGet Package : DevExpress.Web

Declaration

csharp
public class GanttEditingSettings :
    GanttSettingsBase
vb
Public Class GanttEditingSettings
    Inherits GanttSettingsBase

The following members return GanttEditingSettings objects:

LibraryRelated API Members
ASP.NET Web Forms ControlsASPxGantt.SettingsEditing
ASP.NET MVC ExtensionsGanttSettings.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

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

MVC:

Run Demo: MVCxGantt - Data Binding and Editing

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

Concepts

Implements

IStateManager

Inheritance

Object StateManager PropertiesBase GanttSettingsBase GanttEditingSettings

See Also

GanttEditingSettings Members

ASPxGantt - 'How To' Examples

Online Example: How to Edit Gantt Data

DevExpress.Web.ASPxGantt Namespace