Free Trial Buy Now

Grid Editing - Edit Modes

v
#
Contact Name
Company Name
City
Region
Country
EditMaria AndersAlfreds FutterkisteBerlin Germany
 Ana TrujilloAna Trujillo Emparedados y heladosMéxico D.F. Mexico
UpdateCancel
EditAntonio MorenoAntonio Moreno TaqueríaMéxico D.F. Mexico
EditThomas HardyAround the HornLondon UK
EditChristina BerglundBerglunds snabbköpLuleå Sweden
EditHanna MoosBlauer See DelikatessenMannheim Germany
EditFrédérique CiteauxBlondel père et filsStrasbourg France
EditMartín SommerBólido Comidas preparadasMadrid Spain
EditLaurence LebihanBon app'Marseille France
EditElizabeth LincolnBottom-Dollar MarketsTsawwassenBCCanada
Page 1 of 10 (91 items)
Prev
1
2
3
4
5
6
7
8
9
10
Next

Description

This demo describes the ASPxGridView's built-in edit modes.

Use the 'Edit Mode' combo box to select the edit mode you desire.

The KeyFieldName property must be specified to enable data editing/inserting/deleting operations.

The following members can be used to manipulate data:

  • StartEdit() - starts editing.
  • UpdateEdit() - saves changes.
  • CancelEdit() - cancels changes.
  • AddNewRow() - adds a new row.
  • DeleteRow() - deletes a row.

To allow end-users to manipulate data, add a Command column to the view's Columns collection and specify which commands can be used by end-users. There are six command items:

  • New
  • Edit
  • Delete
  • Select
  • Update
  • Cancel

By default, a command item is represented by a link. It can also be represented by a button or image. Its representation is specified by the column's ButtonType property.

Version: v2011 vol 2.11
Experience the DevExpress Difference Today
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.