• Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Localization
*Translated by Google Translator.
Currency
Essential Studio
HOME
All Controls

Example of Inline Editing in ASP.NET Core Data Grid Control

This sample demonstrates CRUD operations in Grid. You can perform CRUD operations as follows,

  • Add - To add new record, click Add toolbar button
  • Edit - To edit record, double click a row or click toolbar Edit button after selected a row
  • Delete - To delete record, click toolbar Delete button after selected a row
  • Update,Cancel - You can save or discard changes by click toolbar Update and Cancel button respectively

By default, a new row will be added at the top of the grid. You can change it by setting editSettings.newRowPosition as Bottom

DEMO
SOURCE
Add New Row Position

The Grid supports CRUD operations. This CRUD operations can be configured in Grid using editSettings. Also, it has different modes to manipulate the datasource.

The available modes are,

  • Inline
  • Dialog
  • Batch

In this demo, Inline mode is enabled for editing. You can start editing any row by double clicking on it or clicking on toolbar’s Edit button, then the currently selected row will be changed to edited state. You can change the row values and save edited data to the datasource.