Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Collapse]Grid View
   [Expand]Product Information
    Getting Started
   [Expand]Fundamentals
   [Collapse]Concepts
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Expand]Focus and Navigation
    [Collapse]Data Editing
      Edit Form
      Adding and Deleting Records
      Row Validation and Error Indication
      Edit Form Validation (Templates)
      Processing Custom Callbacks
      Batch Edit Mode
    [Expand]Data Shaping and Manipulation
    [Expand]Data Formatting
    [Expand]Master-Detail Relationship
     Appearance Customization
     Adaptivity
     Save and Restore Layout
    [Expand]Templates
    [Expand]Export
     Toolbars
    [Expand]ASPxGridLookup
    ASPxGridView Designer
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Member Tables
   [Expand]ASPxGridView - Animated Images
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Data Editing

ASPxGridView provides five built-in edit modes that allow end-users to edit grid data. Use the ASPxGridViewEditingSettings.Mode property to specify the grid edit mode.

  • Edit Form

    ASPxGridView displays the Edit Form in edit mode. The data row currently being edited is not displayed. The Edit Form displays edit cells corresponding to a data column, and allows the values within this row to be changed. To learn more, see Edit Form.

  • Edit Form and Display Row

    This mode is similar to Edit Form mode, but with one difference – it displays the currently selected data row above the edit form.

  • Popup Edit Form

    ASPxGridView displays the Popup Edit Form in edit mode.

  • In-Line Editing

    ASPxGridView displays the In-Line Edit Row instead of the selected data row. The edit row displays edit cells that correspond to visible data columns.

  • To allow end-users to manipulate data in either of the edit modes mentioned above, add a Command Column to the ASPxGridView.Columns collection and specify which commands can be used by end-users. End-users can switch ASPxGridView to an edit mode by clicking the Edit command. Or use the ASPxGridView.StartEdit method to switch to an edit mode in code. To switch ASPxGridView back to browse mode and to save all the changes, click the Update command or use the ASPxGridView.UpdateEdit method. To discard the changes, click the Cancel command or call the ASPxGridView.CancelEdit method.

  • Batch

    ASPxGridView maintains all user changes on the client side until the Save changes link (the Update command) is clicked, or all changes are canceled by clicking the Cancel changes link (the Cancel command). To learn more, see Batch Edit Mode.

You can prevent data editing, deleting and inserting using the ASPxGridDataSecuritySettings.AllowEdit, ASPxGridDataSecuritySettings.AllowDelete and ASPxGridDataSecuritySettings.AllowInsert properties, respectively.

Note

To enable data editing, inserting and deleting operations, specify the ASPxGridBase.KeyFieldName property.

Expanded Concepts

Expanded Member Table

Expanded Task-Based Help

Expanded See Also

Is this topic helpful?​​​​​​​