[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Collapse]Vertical Grid
   [Expand]Product Information
   [Expand]ASPxVerticalGrid Getting Started
    [Expand]Binding to Data
    [Collapse]Data Representation Basics
       Data Rows
       Command Rows
      [Expand]Unbound Rows
       Fixed Rows
       Accessing Rows
       Creating Rows and Binding Them to Data Fields
    [Expand]Focus and Navigation
    [Expand]Data Editing
    [Expand]Data Shaping and Manipulation
    [Expand]Data Formatting
     Appearance Customization
    ASPxVerticalGrid Designer
   [Expand]Visual Elements
   [Expand]Member Tables
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [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]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Command Rows

End-users manipulate ASPxVerticalGrid data using command rows. ASPxVerticalGrid stores command rows together with its rows within the ASPxVerticalGrid.Rows collection.

Expanded Commands

A command row is the VerticalGridCommandRow class. It provides a set of commands that allow end-users to switch ASPxVerticalGrid to batch edit mode, as well as update data, delete records, etc.

A command row allows multiple command items to be displayed within a cell. A single command is displayed as a command item. There are several command items.

Command Description Property
New Creates a new record. ASPxVerticalGridCommandButtonSettings.NewButton
Edit Switches ASPxVerticalGrid to batch edit mode. ASPxVerticalGridCommandButtonSettings.EditButton
Delete Deletes the current record. ASPxVerticalGridCommandButtonSettings.DeleteButton
Select Selects/deselects records. ASPxVerticalGridCommandButtonSettings.SelectButton, VerticalGridCommandRow.ShowSelectCheckbox
Save changes Saves all the changes made to the current record and switches ASPxVerticalGrid to a browse mode. ASPxVerticalGridCommandButtonSettings.UpdateButton
Cancel Discards any changes made to the current record and switches ASPxVerticalGrid to a browse mode. ASPxVerticalGridCommandButtonSettings.CancelButton
Recover Recovers a deleted record. ASPxVerticalGridCommandButtonSettings.RecoverButton

By default, command items are represented by a link. They can also be represented by a button or image. Use the VerticalGridCommandRow.ButtonRenderMode property to specify how the command row renders its command items.

To initialize individual command buttons, handle the ASPxVerticalGrid.CommandButtonInitialize event.

Expanded Custom Buttons

Command rows can also display custom buttons within command cells. You can create your own buttons, and define custom actions for them.

To initialize individual custom command buttons, handle the ASPxVerticalGrid.CustomButtonInitialize event.

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