Edit Modes

The Data Grid allows users to add, edit, and remove data rows.

  1. Add DxDataGridCommandColumn to the Data Grid. This column displays the New, Edit, and Delete command buttons.
  2. Handle the following events to post changes to an underlying data source:
  3. Handle the InitNewRow event to initialize new data rows.

The Data Grid supports different edit modes. Use the Edit Mode option below (corresponds to the EditMode property) to switch between available modes.

Edit Mode:
A Datum Corporation Novelty Goods Supplier Road Freight (847) 555-0100 Woodgrove Bank Zionsville 8575824136
Contoso, Ltd. Novelty Goods Supplier Refrigerated Road Freight (360) 555-0100 Woodgrove Bank Greenbank 4587965215
Consolidated Messenger Courier Services Supplier (415) 555-0100 Woodgrove Bank San Francisco 3254872158
Fabrikam, Inc. Clothing Supplier Road Freight (203) 555-0104 Woodgrove Bank Lakeview Heights 4125863879
Graphic Design Institute Novelty Goods Supplier Refrigerated Air Freight (406) 555-0105 Woodgrove Bank Lanagan 1025869354
Humongous Insurance Insurance Services Supplier (423) 555-0105 Woodgrove Bank Lancing 2569874521
Litware, Inc. Packaging Supplier Courier (209) 555-0108 Woodgrove Bank Mokelumne Hill 3256896325
Lucerne Publishing Novelty Goods Supplier Refrigerated Air Freight (423) 555-0103 Woodgrove Bank Jonesborough 3254123658
Nod Publishers Novelty Goods Supplier Refrigerated Air Freight (252) 555-0100 Woodgrove Bank Elizabeth City 2021545878
Northwind Electric Cars Toy Supplier Air Freight (201) 555-0105 Woodgrove Bank Crandon Lakes 3258786987
Trey Research Marketing Services Supplier (605) 555-0103 Woodgrove Bank Kadoka 1254785321
The Phone Company Novelty Goods Supplier Road Freight (218) 555-0105 Woodgrove Bank Karlstad 7896236589
Woodgrove Bank Financial Services Supplier (415) 555-0103 Woodgrove Bank San Francisco 2147825698