GridViewContextMenuItem.Command Property
Gets or sets the name of a command executed when clicking a context menu item.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public GridViewContextMenuCommand Command { get; set; }
#Property Value
Type | Description |
---|---|
Grid |
One of the Grid |
Available values:
Name | Description |
---|---|
Full |
A command that expands all group rows. |
Full |
A command that collapses all group rows. |
Sort |
A command that sorts grid data by the current column ascending. |
Sort |
A command that sorts grid data by the current column decending. |
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 builder visibility. |
Show |
A command that controls the filter row visibility. |
Show |
A command that controls the filter row menu availability. |
Group |
A command that groups grid data by the current column. |
Ungroup |
A command that ungroups grid data by the current column. |
Clear |
A command that clears the grouping in the group panel. |
Show |
A command that controls the group panel visibility. |
Show |
A command that controls the search panel visibility. |
Show |
A command that shows the current column in the grid |
Hide |
A command that hides the current column. |
Show |
A command that controls the customization window visibility. |
Show |
A command that controls the footer visibility. |
Show |
A command that controls the customization dialog visibility. |
New |
A command that creates a new row. |
Edit |
A command that allows editing the current data row. |
Delete |
A command that deletes the current data row. |
Expand |
A command that expands the current group row. |
Collapse |
A command that collapses the current group row. |
Expand |
A command that expands the current detail row. |
Collapse |
A command that collapses the current detail row. |
Refresh | A command that refreshes grid data. |
Copy |
A command that copies a cell to the clipboard. |
Paste |
A command that pastes a cell from the clipboard. |
Group |
A command that switches the visibility of the Sum summary item in the group footer. |
Group |
A command that switches the visibility of the Min summary item in the group footer. |
Group |
A command that switches the visibility of the Max summary item in the group footer. |
Group |
A command that switches the visibility of the Count summary item in the group footer. |
Group |
A command that switches the visibility of the Average summary item in the group footer. |
Group |
A command that hides every group footer summary item in the current column. |
Summary |
A command that displays a sum of the current column cell values. |
Summary |
A command that displays the minimum cell value in the current column. |
Summary |
A command that displays the maximum cell value in the current column. |
Summary |
A command that displays a count of the current column cell values. |
Summary |
A command that displays an average cell value in the current column. |
Summary |
A command that hides every summary item in the current column. |
Group |
A command that identifies the Group Summary item. |
Export |
A command that exports grid data in PDF format. |
Export |
A command that exports grid data in DOCX format. |
Export |
A command that exports grid data in RTF format. |
Export |
A command that exports grid data in CSV format. |
Export |
A command that exports grid data in XLS format. |
Export |
A command that exports grid data in XLSX format. |
Export |
A command that invokes the menu allowing you to export grid data in an appropriate format. |
Custom | A custom user command. |
#Remarks
Use the Command property to specify a command that will be executed when a context menu item is clicked.
Note
The ASPx
- data editing;
- adding new and deleting existing data item;
- selecting data item;
- master-detail view;
- endless paging.