Log In
[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
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [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]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Data Editors
  [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]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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.

How would you rate this topic?​​​​​​​