VerticalGridToolbarItem.Command Property
Gets or sets the name of a command executed when clicking a toolbar item.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(VerticalGridToolbarCommand.Custom)]
public VerticalGridToolbarCommand Command { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Vertical |
Custom | One of the Vertical |
Available values:
Name | Description |
---|---|
Custom | A custom user command. |
Clear |
A command that clears sorting by the current column. |
Clear |
A command that clears the filter applied to the current column. |
Show |
A command that controls the filter control visibility. |
Show |
A command that controls the search panel visibility. |
Show |
A command that controls the summary panel visibility. |
Refresh | A command that refreshes grid data. |
New | A command that creates a new record. |
Edit | A command that allows editing the current record. |
Delete | A command that deletes the current record. |
Delete |
A command that deletes the selected records on the page. |
Update | A command that saves all the changes made to the current record and switches the ASPx |
Cancel | A command that discards any changes made to the current record and switches the ASPx |
Update |
A command that recalculates total and group summaries on the client in batch edit mode. |
Export |
A command that exports the grid’s data to a file in PDF format. |
Export |
A command that exports the grid’s data to a file in DOCX format. |
Export |
A command that exports the grid’s data to a file in RTF format. |
Export |
A command that exports the grid’s data to a file in CSV format. |
Export |
A command that exports the grid’s data to a file in XLS format. |
Export |
A command that exports the grid’s data to a file in XLS format. |
#Remarks
Use the Command property to specify a command that will be executed when a toolbar item is clicked.
Note
The ASPx
- data editing;
- adding new and deleting existing record;
- selecting record;