All docs
V20.2
21.2
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
A newer version of this page is available. Switch to the current version.

Edit Data

The Gantt control allows you to edit data in the Task List region and in the Gantt chart. You can add and modify tasks and their dependencies, and assign or re-assign resources responsible for a certain task.

The GanttEditingSettings object provides access to the Gantt’s edit settings:

  • Enabled - Specifies whether users can edit data.

    <dx:ASPxGantt ID="Gantt" runat="server" ... >
        <SettingsEditing Enabled="False" />
    </dx:ASPxGantt>
    
  • The Allow[Element]Insert, Allow[Element]Update, and Allow[Element]Delete properties specify whether users can insert, update, and delete Gantt elements.

    <dx:ASPxGantt ID="Gantt" runat="server" ... >
        <SettingsEditing 
            AllowTaskInsert="False"
            AllowResourceUpdate="False" 
            AllowDependencyInsert="False"
            AllowResourceAssignmentInsert="False" ... />
    </dx:ASPxGantt>