aspnet-devexpress-dot-web-dot-aspxgantt-33d071bb.md
Provides access to editing settings.
Namespace : DevExpress.Web.ASPxGantt
Assembly : DevExpress.Web.ASPxGantt.v25.2.dll
NuGet Package : DevExpress.Web
public class GanttEditingSettings :
GanttSettingsBase
Public Class GanttEditingSettings
Inherits GanttSettingsBase
The following members return GanttEditingSettings objects:
| Library | Related API Members |
|---|---|
| ASP.NET Web Forms Controls | ASPxGantt.SettingsEditing |
| ASP.NET MVC Extensions | GanttSettings.SettingsEditing |
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()
Object StateManager PropertiesBase GanttSettingsBase GanttEditingSettings
See Also