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
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Collapse]Grid View
    Overview - GridView
    Main Features - GridView
   [Collapse]Concepts
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Expand]Focus and Navigation
    [Collapse]Data Editing and Validation
      Data Editing
      Edit Modes
      Edit Form
      Batch Editing
      Validation
      Initializing New Rows
    [Expand]Exporting
   [Expand]Visual Elements
   [Expand]Member Tables
   [Expand]Examples
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Charting
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors Extensions
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]SpellChecker
  [Expand]Query Builder
 [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 and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Edit Modes

The ASP.NET MVC GridView extension provides five built-in edit modes that allow end-users to edit grid data. Use the ASPxGridViewEditingSettings.Mode (via GridViewSettings.SettingsEditing.Mode) property to specify the grid edit mode.

  • Edit Form

    GridView 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 the Edit Form topic.

  • Edit Form and Display Row

    Equivalent to Edit Form mode, but the currently selected data row is displayed above the edit form.

  • Popup Edit Form

    GridView displays the Popup Edit Form in edit mode.

  • In-Line Editing

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

  • Batch

    GridView 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 Editing.

Expanded Example

The code sample below demonstrates how to specify the edit mode for the ASP.NET MVC GridView extension.

Partial View code:

Expanded See Also

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