GanttEditingSettings Class
Provides access to editing settings.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public class GanttEditingSettings :
GanttSettingsBase
#Related API Members
The following members return GanttEditingSettings objects:
Library | Related API Members |
---|---|
ASP. |
ASPx |
ASP. |
Gantt |
#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.
The Gantt stores a user’s changes and supports the ‘undo’ and ‘redo’ shortcuts (Ctrl+Z and Ctrl+Y).
Web Forms:
<dx:ASPxGantt ID="Gantt" runat="server" ... >
// ...
<SettingsEditing Enabled="False" />
</dx:ASPxGantt>
MVC:
@Html.DevExpress().Gantt(settings => {
settings.Name = "gantt";
...
settings.SettingsEditing.Enabled = false;
...
}).Bind(
GanttDataProvider.Tasks,
GanttDataProvider.Dependencies,
GanttDataProvider.Resources,
GanttDataProvider.ResourceAssignments
).GetHtml()