Grid Context Menu Items
- 14 minutes to read
The ASPxGridView control displays different context menu types for the following elements: row, column, footer, group panel, and group footer.
The control automatically hides/shows and disables/enables items in an element’s context menu based on the element’s settings. For instance, the grid hides the Clear Sorting item when it displays the column context menu for an unsorted column.
You can control default context menu item visibility, displayed text, and image for each context menu type. The tables below list the members that affect these settings.
Row Context Menu Items
Collapse Detail
Collapses the current detail row. Related members:
- CollapseDetailRow
- Gets or sets the visibility of the Collapse Detail item displayed within the row context menu.
- ContextMenuCollapseDetailRow
- Gets or sets the text of the Collapse Detail item displayed within the row context menu.
- ContextMenuCollapseDetailRow
- Gets the image for the corresponding visual element in the context menu.
Expand Detail
Expands the current detail row. Related members:
- ExpandDetailRow
- Gets or sets the visibility of the Expand Detail item displayed within the row context menu.
- ContextMenuExpandDetailRow
- Gets or sets the text of the Expand Detail item displayed within the row context menu.
- ContextMenuExpandDetailRow
- Gets the image for the corresponding visual element in the context menu.
Collapse
Collapses the current group row. Related members:
- CollapseRow
- Gets or sets the visibility of the Collapse item displayed within the row context menu.
- ContextMenuCollapseRow
- Gets or sets the text of the Collapse item displayed within the row context menu.
- ContextMenuCollapseRow
- Gets the image for the corresponding visual element in the context menu.
Expand
Expands the current group row. Related members:
- ExpandRow
- Gets or sets the visibility of the Expand item displayed within the row context menu.
- ContextMenuExpandRow
- Gets or sets the text of the Expand item displayed within the row context menu.
- ContextMenuExpandRow
- Gets the image for the corresponding visual element in the context menu.
New
Creates a new row. Related members:
- NewRow
- Gets or sets the visibility of the New item displayed within the row context menu.
- ContextMenuNewRow
- Gets or sets the text of the New item displayed within the row context menu.
- ContextMenuNewRow
- Gets the image for the corresponding visual element in the context menu.
Edit
Makes the current row editable. Related members:
- EditRow
- Gets or sets the visibility of the Edit item displayed within the row context menu.
- ContextMenuEditRow
- Gets or sets the text of the Edit item displayed within the row context menu.
- ContextMenuEditRow
- Gets the image for the corresponding visual element in the context menu.
Delete
Deletes the current row. Related members:
- DeleteRow
- Gets or sets the visibility of the Delete item displayed within the row context menu.
- ContextMenuDeleteRow
- Gets or sets the text of the Delete item displayed within the row context menu.
- ContextMenuDeleteRow
- Gets the image for the corresponding visual element in the context menu.
Group Summary
A menu that allows users to add and remove group summary items. Related members:
- Visible
- Specifies the visibility of the Group Summary context menu item.
- ContextMenuGroupSummary
- Gets or sets the text of the Group Summary item displayed in the row context menu.
Export
A menu that allows users to export grid content. Related members:
- Visible
- Specifies the visibility of the Export context menu item.
- ContextMenuExport
- Gets or sets the text of the Export context menu item.
Refresh
Refreshes grid data. Related members:
- Refresh
- Gets or sets the visibility of the Refresh item displayed within the row context menu.
- ContextMenuRefresh
- Gets or sets the text of the Refresh item displayed within the row context menu.
- ContextMenuRefresh
- Gets the image for the corresponding visual element in the context menu.
Column Context Menu Items
Refresh
Refreshes grid data. Related members:
- Refresh
- Gets or sets the visibility of the Refresh item displayed within the row context menu.
- ContextMenuRefresh
- Gets or sets the text of the Refresh item displayed within the row context menu.
- ContextMenuRefresh
- Gets the image for the corresponding visual element in the context menu.
Expand All
Expands all group rows. Related members:
- FullExpand
- Gets or sets the visibility of the Expand All item displayed within the column context menu.
- ContextMenuFullExpand
- Gets or sets the text of the Expand All item displayed within the group panel and column context menus.
- ContextMenuFullExpand
- Gets the image for the corresponding visual element in the context menu.
Collapse All
Collapses all group rows. Related members:
- FullCollapse
- Gets or sets the visibility of the Collapse All item displayed within the column context menu.
- ContextMenuFullCollapse
- Gets or sets the text of the Collapse All item displayed within the group panel and column context menus.
- ContextMenuFullCollapse
- Gets the image for the corresponding visual element in the context menu.
Sort Ascending
Sorts a grid by the current column in ascending order. Related members:
- SortAscending
- Gets or sets the visibility of the Sort Ascending item displayed within the column context menu.
- ContextMenuSortAscending
- Gets or sets the text of the Sort Ascending item displayed within the column context menu.
- ContextMenuSortAscending
- Gets the image for the corresponding visual element in the context menu.
Sort Descending
Sorts a grid by the current column in descending order. Related members:
- SortDescending
- Gets or sets the visibility of the Sort Descending item displayed within the column context menu.
- ContextMenuSortDescending
- Gets or sets the text of the Sort Descending item displayed within the column context menu.
- ContextMenuSortDescending
- Gets the image for the corresponding visual element in the context menu.
Clear Sorting
Clears sorting by the current column. Related members:
- ClearSorting
- Gets or sets the visibility of the Clear Sorting item displayed within the column context menu.
- ContextMenuClearSorting
- Gets or sets the text of the Clear Sorting item displayed within the column context menu.
- ContextMenuClearSorting
- Gets the image for the corresponding visual element in the context menu.
Group by This Column
Groups grid data by the current column. Related members:
- GroupByColumn
- Gets or sets the visibility of the Group by This Column item displayed within the column context menu.
- ContextMenuGroupByColumn
- Gets or sets the text of the Group by This Column item displayed within the column context menu.
- ContextMenuGroupByColumn
- Gets the image for the corresponding visual element in the context menu.
Ungroup
Ungroups grid data by the current column. Related members:
- UngroupColumn
- Gets or sets the visibility of the Ungroup item displayed within the column context menu.
- ContextMenuUngroupColumn
- Gets or sets the text of the Ungroup item displayed within the column context menu.
- ContextMenuUngroupColumn
- Gets the image for the corresponding visual element in the context menu.
Group Panel
Controls group panel visibility. Related members:
- ShowGroupPanel
- Gets or sets the visibility of the Group Panel item displayed within the column context menu.
- ContextMenuShowGroupPanel
- Gets or sets the text of the Group Panel item displayed within the context menu.
- ContextMenuShowGroupPanel
- Gets the image for the corresponding visual element in the context menu.
Show Column
Shows the current column in the grid. Related members:
- ShowColumn
- Gets or sets the visibility of the Show Column item displayed within the column context menu.
- ContextMenuShowColumn
- Gets or sets the text of the Show Column item displayed within the column context menu.
- ContextMenuShowColumn
- Gets the image for the corresponding visual element in the context menu.
Hide Column
Hides the current column. Related members:
- HideColumn
- Gets or sets the visibility of the Hide Column item displayed within the column context menu.
- ContextMenuHideColumn
- Gets or sets the text of the Hide Column item displayed within the column context menu.
- ContextMenuHideColumn
- Gets the image for the corresponding visual element in the context menu.
Show Customization Dialog
Shows the Customization Dialog. Related members:
- Enabled
- Gets or sets whether the Customization Dialog is enabled.
- ContextMenuShowCustomizationDialog
- Gets or sets the text of the Show Customization Dialog context menu item.
- ContextMenuShowCustomizationDialog
- Gets the image for the corresponding visual element in the context menu.
Column Chooser
Controls Customization Window visibility. Related members:
- ShowCustomizationWindow
- Gets or sets the visibility of the Column Chooser item displayed within the column context menu.
- ContextMenuShowCustomizationWindow
- Gets or sets the text of the Column Chooser item displayed within the column context menu.
- ContextMenuShowCustomizationWindow
- Gets the image for the corresponding visual element in the context menu.
Clear Filter
Clears the filter in the filter row. Related members:
- ClearFilter
- Gets or sets the visibility of the Clear Filter item displayed within the column context menu.
- ContextMenuClearFilter
- Gets or sets the text of the Clear Filter item displayed within the column context menu.
- ContextMenuClearFilter
- Gets the image for the corresponding visual element in the context menu.
Search Panel
Controls search panel visibility. Related members:
- ShowSearchPanel
- Gets or sets the visibility of the Search Panel item displayed within the column context menu.
- ContextMenuShowSearchPanel
- Gets or sets the text of the Search Panel item displayed within the context menu.
- ContextMenuShowSearchPanel
- Gets the image for the corresponding visual element in the context menu.
Filter Row
Controls filter row visibility. Related members:
- ShowFilterRow
- Gets or sets the visibility of the Filter Row item displayed within the column context menu.
- ContextMenuShowFilterRow
- Gets or sets the text of the Filter Row item displayed within the column context menu.
- ContextMenuShowFilterRow
- Gets the image for the corresponding visual element in the context menu.
Filter Row Menu
Controls filter row menu visibility. Related members:
- ShowFilterRowMenu
- Gets or sets the visibility of the Filter Row Menu item displayed within the column context menu.
- ContextMenuShowFilterRowMenu
- Gets or sets the text of the Filter Row Menu item displayed within the column context menu.
- ContextMenuShowFilterRowMenu
- Gets the image for the corresponding visual element in the context menu.
Filter Builder…
Controls filter builder visibility. Related members:
- ShowFilterEditor
- Gets or sets the visibility of the Filter Builder… item displayed within the column context menu.
- ContextMenuShowFilterEditor
- Gets or sets the text of the Filter Builder… item displayed within the column context menu.
- ContextMenuShowFilterEditor
- Gets the image for the corresponding visual element in the context menu.
Footer
Controls footer visibility. Related members:
- ShowFooter
- Gets or sets the visibility of the Footer item displayed within the column context menu.
- ContextMenuShowFooter
- Gets or sets the text of the Footer item displayed within the column context menu.
- ContextMenuShowFooter
- Gets the image for the corresponding visual element in the context menu.
Footer Context Menu Items
Sum
Controls the visibility of a summary item that displays the sum of current column cell values. Related members:
- SummarySum
- Gets or sets the visibility of the Sum item displayed within the footer context menu.
- ContextMenuSummarySum
- Gets or sets the text of the Sum item displayed within the footer context menu.
- ContextMenuSummarySum
- Gets the image for the corresponding visual element in the context menu.
Min
Controls the visibility of a summary item that displays the minimum cell value in the current column. Related members:
- SummaryMin
- Gets or sets the visibility of the Min item displayed within the footer context menu.
- ContextMenuSummaryMin
- Gets or sets the text of the Min item displayed within the footer context menu.
- ContextMenuSummaryMin
- Gets the image for the corresponding visual element in the context menu.
Max
Controls the visibility of a summary item that displays the maximum cell value in the current column. Related members:
- SummaryMax
- Gets or sets the visibility of the Max item displayed within the footer context menu.
- ContextMenuSummaryMax
- Gets or sets the text of the Max item displayed within the footer context menu.
- ContextMenuSummaryMax
- Gets the image for the corresponding visual element in the context menu.
Count
Controls the visibility of a summary item that displays the count of current column cell values. Related members:
- SummaryCount
- Gets or sets the visibility of the Count item displayed within the footer context menu.
- ContextMenuSummaryCount
- Gets or sets the text of the Count item displayed within the footer context menu.
- ContextMenuSummaryCount
- Gets the image for the corresponding visual element in the context menu.
Average
Controls the visibility of a summary item that displays the average cell value in the current column. Related members:
- SummaryAverage
- Gets or sets the visibility of the Average item displayed within the footer context menu.
- ContextMenuSummaryAverage
- Gets or sets the text of the Average item displayed within the footer context menu.
- ContextMenuSummaryAverage
- Gets the image for the corresponding visual element in the context menu.
None
Hides all summary items in the current column. Related members:
- SummaryNone
- Gets or sets the visibility of the None item displayed within the footer context menu.
- ContextMenuSummaryNone
- Gets or sets the text of the None item displayed within the footer context menu.
- ContextMenuSummaryNone
- Gets the image for the corresponding visual element in the context menu.
Group Panel Context Menu Items
Expand All
Expands all group rows. Related members:
- FullExpand
- Gets or sets the visibility of the Expand All item displayed within the group panel context menu.
- ContextMenuFullExpand
- Gets or sets the text of the Expand All item displayed within the group panel and column context menus.
- ContextMenuFullExpand
- Gets the image for the corresponding visual element in the context menu.
Collapse All
Collapses all group rows. Related members:
- FullCollapse
- Gets or sets the visibility of the Collapse All item displayed within the group panel context menu.
- ContextMenuFullCollapse
- Gets or sets the text of the Collapse All item displayed within the group panel and column context menus.
- ContextMenuFullCollapse
- Gets the image for the corresponding visual element in the context menu.
Group Panel
Controls group panel visibility. Related members:
- ShowGroupPanel
- Gets or sets the visibility of the Group Panel item displayed within the group panel context menu.
- ContextMenuShowGroupPanel
- Gets or sets the text of the Group Panel item displayed within the context menu.
- ContextMenuShowGroupPanel
- Gets the image for the corresponding visual element in the context menu.
Clear Grouping
Clears grouping. Related members:
- ClearGrouping
- Gets or sets the visibility of the Clear Grouping item displayed within the group panel context menu.
- ContextMenuClearGrouping
- Gets or sets the text of the Clear Grouping item displayed within the group panel context menu.
- ContextMenuClearGrouping
- Gets the image for the corresponding visual element in the context menu.
Group Footer Context Menu Items
Sum
Controls the visibility of a summary item that displays the sum of current column cell values. Related members:
- SummarySum
- Gets or sets the visibility of the Sum item displayed in the group footer context menu.
- ContextMenuSummarySum
- Gets or sets the text of the Sum item displayed within the footer context menu.
- ContextMenuSummarySum
- Gets the image for the corresponding visual element in the context menu.
Min
Controls the visibility of a summary item that displays the minimum cell value in the current column. Related members:
- SummaryMin
- Gets or sets the visibility of the Min item displayed in the group footer context menu.
- ContextMenuSummaryMin
- Gets or sets the text of the Min item displayed within the footer context menu.
- ContextMenuSummaryMin
- Gets the image for the corresponding visual element in the context menu.
Max
Controls the visibility of a summary item that displays the maximum cell value in the current column. Related members:
- SummaryMax
- Gets or sets the visibility of the Max item displayed in the group footer context menu.
- ContextMenuSummaryMax
- Gets or sets the text of the Max item displayed within the footer context menu.
- ContextMenuSummaryMax
- Gets the image for the corresponding visual element in the context menu.
Count
Controls the visibility of a summary item that displays the count of current column cell values. Related members:
- SummaryCount
- Gets or sets the visibility of the Count item displayed in the group footer context menu.
- ContextMenuSummaryCount
- Gets or sets the text of the Count item displayed within the footer context menu.
- ContextMenuSummaryCount
- Gets the image for the corresponding visual element in the context menu.
Average
Controls the visibility of a summary item that displays the average cell value in the current column. Related members:
- SummaryAverage
- Gets or sets the visibility of the Average item displayed in the group footer context menu.
- ContextMenuSummaryAverage
- Gets or sets the text of the Average item displayed within the footer context menu.
- ContextMenuSummaryAverage
- Gets the image for the corresponding visual element in the context menu.
None
Hides all summary items in the current column. Related members:
- SummaryNone
- Gets or sets the visibility of the None item displayed in the group footer context menu.
- ContextMenuSummaryNone
- Gets or sets the text of the None item displayed within the footer context menu.
- ContextMenuSummaryNone
- Gets the image for the corresponding visual element in the context menu.