BootstrapGridViewToolbarItemBase.Command Property
Gets or sets a command to execute when the item is clicked.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v25.1.dll
NuGet Package: DevExpress.Web.Bootstrap
Declaration
[DefaultValue(BootstrapGridViewToolbarCommand.Custom)]
public BootstrapGridViewToolbarCommand Command { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| BootstrapGridViewToolbarCommand | Custom | A BootstrapGridViewToolbarCommand enumeration value. |
Available values:
| Name | Description |
|---|---|
| Custom | A custom user command. |
| FullExpand | A command that expands all rows. |
| FullCollapse | A command that collapses all rows. |
| ClearSorting | A command that clears sorting by the current column. |
| ClearFilter | A command that clears the filter applied to the current column. |
| ShowFilterRow | A command that controls the filter row visibility. |
| ShowFilterRowMenu | A command that controls the filter row menu visibility. |
| ClearGrouping | A command that clears the grouping in the grid’s group panel. |
| ShowGroupPanel | A command that controls the group panel visibility. |
| ShowSearchPanel | A command that controls the search panel visibility. |
| ShowFooter | A command that controls the footer visibility. |
| ShowCustomizationDialog | A command that controls the Show Customization Dialog visibility. |
| Refresh | A command that refreshes grid data. |
| New | A command that creates a new row. |
| Edit | A command that allows users to edit the current row. |
| Delete | A command that deletes the current row. |
| DeleteSelectedRowsOnPage | A command that deletes the selected rows on the page. |
| Update | A command that saves all the changes made to the current data row and switches the ASPxGridView to browse mode. |
| Cancel | A command that discards any changes made to the current row and switches the Grid View to browse mode. |
| PreviewChanges | |
| HidePreview | |
| UpdateSummaries | |
| ExpandRow | A command that expands the row. |
| CollapseRow | A command that collapses the row. |
| ExpandDetailRow | A command that expands the detail row. |
| CollapseDetailRow | A command that collapses the detail row. |
| ExportToPdf | |
| ExportToDocx | |
| ExportToRtf | |
| ExportToCsv | |
| ExportToXls | |
| ExportToXlsx |