Command Row
End-users can manipulate ASP.NET MVC VerticalGrid data using a command row. You can access command row settings through the VerticalGridSettings.CommandRow property.
Commands
A command row is represented by the MVCxVerticalGridCommandRow class. It provides a set of commands that allows end-users to switch the VerticalGrid to edit mode, select columns, add and delete columns, etc.
A command row allows multiple command items to be displayed within a cell. A single command is represented by a command item. The following command items are available.
Command | Description | Settings | Visibility |
---|---|---|---|
New | Creates a new data column. | ||
Edit | Starts editing the current column. | ||
Delete | Deletes the current data column. | ||
Select | Selects/deselects data columns. | ||
Recover | Recovers a deleted record. |
By default, command items are displayed as a link. They can also be displayed as a button or image. Use the VerticalGridCommandRow.ButtonRenderMode (through VerticalGridSettings.CommandRow.ButtonRenderMode) property to specify how the command column renders its command items.