Command Item

Command items allow end-users to select and delete data rows, switch a GridView to an edit mode, update data, etc. A command item represents a single command. For instance, the Delete item allows end-users to delete data rows. There are eight command items: New, Edit, Delete, Select, Update, Clear Filter, Apply Filter and Cancel. By default, a command item is represented by a link. It can also be represented by a button or image.

veCommandColumnItem

Command columns can also display custom buttons.

CustomButtons

 

The table below lists the main members that affect element appearance and functionality.

Characteristics

Members

Representation

GridViewCommandColumn.ButtonType (via GridViewSettings.CommandColumn.ButtonType),

GridViewCommandButtonSettings.ButtonType

Accessibility

ASPxGridViewCommandButtonSettings.NewButton (via GridViewSettings.SettingsCommandButton.NewButton),

ASPxGridViewCommandButtonSettings.DeleteButton (via GridViewSettings.SettingsCommandButton.DeleteButton),

ASPxGridViewCommandButtonSettings.UpdateButton (via GridViewSettings.SettingsCommandButton.UpdateButton),

ASPxGridViewCommandButtonSettings.CancelButton (via GridViewSettings.SettingsCommandButton.CancelButton),

ASPxGridViewCommandButtonSettings.EditButton (via GridViewSettings.SettingsCommandButton.EditButton),

ASPxGridViewCommandButtonSettings.SelectButton (via GridViewSettings.SettingsCommandButton.SelectButton),

GridViewCommandColumn.CustomButtons (via GridViewSettings.CommandColumn.CustomButtons),

ASPxGridViewCommandButtonSettings.ApplyFilterButton (via GridViewSettings.SettingsCommandButton.ApplyFilterButton)

Visibility

GridViewCommandColumn.ShowNewButton (via GridViewSettings.CommandColumn.ShowNewButton),

GridViewCommandColumn.ShowNewButtonInHeader (via GridViewSettings.CommandColumn.ShowNewButtonInHeader),

GridViewCommandColumn.ShowDeleteButton (via GridViewSettings.CommandColumn.ShowDeleteButton),

GridViewCommandColumn.ShowUpdateButton (via GridViewSettings.CommandColumn.ShowUpdateButton),

GridViewCommandColumn.ShowCancelButton (via GridViewSettings.CommandColumn.ShowCancelButton),

GridViewCommandColumn.ShowEditButton (via GridViewSettings.CommandColumn.ShowEditButton),

GridViewCommandColumn.ShowSelectButton (via GridViewSettings.CommandColumn.ShowSelectButton),

GridViewCommandColumn.ShowApplyFilterButton (via GridViewSettings.CommandColumn.ShowApplyFilterButton)

Action

ASPxClientGridView.CustomButtonClick (via MVCxClientGridView.CustomButtonClick)

Style

GridViewStyles.CommandColumnItem (via GridViewSettings.Styles.CommandColumnItem)