Skip to main content
A newer version of this page is available. .

Command Item

Command items allow end-users to select and delete data rows, switch ASPxGridView 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 ten command items: New, Edit, Delete, Select, Update, Clear Filter, Apply Filter, Cancel, Show Adaptive Detail, and Hide Adaptive Detail. 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 ASPxGridViewCommandButtonSettings.RenderMode, GridViewCommandColumn.ButtonRenderMode, GridCommandButtonSettings.RenderMode
Accessibility ASPxGridViewCommandButtonSettings.NewButton, ASPxGridViewCommandButtonSettings.DeleteButton, ASPxGridViewCommandButtonSettings.UpdateButton, ASPxGridViewCommandButtonSettings.CancelButton, ASPxGridViewCommandButtonSettings.EditButton, ASPxGridViewCommandButtonSettings.SelectButton, GridViewCommandColumn.CustomButtons, ASPxGridViewCommandButtonSettings.ApplyFilterButton
Visibility GridViewCommandColumn.ShowNewButton, GridViewCommandColumn.ShowNewButtonInHeader, GridViewCommandColumn.ShowDeleteButton, GridViewCommandColumn.ShowUpdateButton, GridViewCommandColumn.ShowCancelButton, GridViewCommandColumn.ShowEditButton, GridViewCommandColumn.ShowSelectButton, GridViewCommandColumn.ShowApplyFilterButton
Action ASPxGridView.CustomButtonCallback, ASPxClientGridView.CustomButtonClick
Style GridViewStyles.CommandColumnItem