Skip to main content
A newer version of this page is available. .

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>