Change Theme Settings
Change Theme Settings
Material Compact
Office 365
Show All Themes

Batch Editing and Updating

Product Name 
Category Name 
Quantity Per Unit 
Unit Price 
Units In Stock 
DeleteChaiBeverages10 boxes x 20 bags$18.0039
DeleteChangBeverages24 - 12 oz bottles$19.0017
DeleteAniseed SyrupCondiments12 - 550 ml bottles$10.0013
DeleteChef Anton's Cajun SeasoningCondiments48 - 6 oz jars$22.0053
DeleteChef Anton's Gumbo MixCondiments36 boxes$21.350
DeleteGrandma's Boysenberry SpreadCondiments12 - 8 oz jars$25.00120
DeleteUncle Bob's Organic Dried PearsProduce12 - 1 lb pkgs.$30.0015
DeleteNorthwoods Cranberry SauceCondiments12 - 12 oz jars$40.006
DeleteMishi Kobe NikuMeat/Poultry18 - 500 g pkgs.$97.0029
DeleteIkuraSeafood12 - 200 ml jars$31.0031
Page 1 of 8 (77 items)Prev12345678Next
Save changesCancel changes

The DevExpress ASP.NET Data Grid (ASPxGridView) control allows you to edit and update multiple grid rows on the client side and send them to the server in a single request.

To enable the batch editing functionality, set the SettingsEditing.Mode property to 'Batch'. In this mode, grid data contained in a page can be edited using in-line editors. The modified cells are colored in green. Deleted rows are highlighted with gray and display the Recover command item. To hide the deleted rows from the view, set the SettingsEditing.BatchEditSettings.HighlightDeletedRows property to false. All changes are maintained on the client side until the Save changes link is clicked, or all changes are canceled by clicking the Cancel changes button.

If a grid contains modified data, it displays a confirm message before a grid callback or postback is performed.

You can customize the batch edit mode settings by using the following properties.

  • The EditMode property allows you to specify which control element (data cell or data row) is used to edit data.
  • The StartEditAction property specifies the action that will be used to begin editing grid data.

In this demo, use the Edit mode combo box to specify the control element used to edit data. The Start edit action combo box allows you to specify the action that should be used to begin editing grid data.