Grid Context Menu Items

  • 4 min to read

The ASPxGridView control provides different context menu types for the following elements: row, column, footer, group panel, and group footer. 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.

Note

The control automatically hides/shows and disables/enables context menu items based on clicked element settings.

Row Context Menu Items

Items Visibility Member Text Member Image Member Description
Collapse Detail GridViewRowMenuItemVisibility.CollapseDetailRow ASPxGridViewTextSettings.ContextMenuCollapseDetailRow GridViewImages.ContextMenuCollapseDetailRow Collapses the current detail row
Expand Detail GridViewRowMenuItemVisibility.ExpandDetailRow ASPxGridViewTextSettings.ContextMenuExpandDetailRow GridViewImages.ContextMenuExpandDetailRow Expands the current detail row
Collapse GridViewRowMenuItemVisibility.CollapseRow ASPxGridViewTextSettings.ContextMenuCollapseRow GridViewImages.ContextMenuCollapseRow Collapses the current group row
Expand GridViewRowMenuItemVisibility.ExpandRow ASPxGridViewTextSettings.ContextMenuExpandRow GridViewImages.ContextMenuExpandRow Expands the current group row
New GridViewRowMenuItemVisibility.NewRow ASPxGridViewTextSettings.ContextMenuNewRow GridViewImages.ContextMenuNewRow Creates a new row
Edit GridViewRowMenuItemVisibility.EditRow ASPxGridViewTextSettings.ContextMenuEditRow GridViewImages.ContextMenuEditRow Turns the current row into an edit mode
Delete GridViewRowMenuItemVisibility.DeleteRow ASPxGridViewTextSettings.ContextMenuDeleteRow GridViewImages.ContextMenuDeleteRow Deletes the current row
Group Summary GridViewGroupSummaryMenuItemVisibility.Visible ASPxGridViewTextSettings.ContextMenuGroupSummary - Provides a menu that allows for adding and removing group summary items.
Export GridViewExportMenuItemVisibility.Visible ASPxGridViewTextSettings.ContextMenuExport - Provides a menu that allows end users to export grid content.
Refresh GridViewRowMenuItemVisibility.Refresh ASPxGridViewTextSettings.ContextMenuRefresh GridViewImages.ContextMenuRefresh Refreshes grid data

Column Context Menu Items

Items Visibility Member Text Member Image Member Description
Expand All GridViewColumnMenuItemVisibility.FullExpand ASPxGridViewTextSettings.ContextMenuFullExpand GridViewImages.ContextMenuFullExpand Expands all group rows
Collapse All GridViewColumnMenuItemVisibility.FullCollapse ASPxGridViewTextSettings.ContextMenuFullCollapse GridViewImages.ContextMenuFullCollapse Collapses all group rows
Sort Ascending GridViewColumnMenuItemVisibility.SortAscending ASPxGridViewTextSettings.ContextMenuSortAscending GridViewImages.ContextMenuSortAscending Sorts grid by the current column ascending
Sort Descending GridViewColumnMenuItemVisibility.SortDescending ASPxGridViewTextSettings.ContextMenuSortDescending GridViewImages.ContextMenuSortDescending Sorts a grid by the current column descending
Clear Sorting GridViewColumnMenuItemVisibility.ClearSorting ASPxGridViewTextSettings.ContextMenuClearSorting GridViewImages.ContextMenuClearSorting Clears sorting by the current column
Group by This Column GridViewColumnMenuItemVisibility.GroupByColumn ASPxGridViewTextSettings.ContextMenuGroupByColumn GridViewImages.ContextMenuGroupByColumn Groups grid data by the current column
Ungroup GridViewColumnMenuItemVisibility.UngroupColumn ASPxGridViewTextSettings.ContextMenuUngroupColumn GridViewImages.ContextMenuUngroupColumn Ungroups grid data by the current column
Group Panel GridViewColumnMenuItemVisibility.ShowGroupPanel ASPxGridViewTextSettings.ContextMenuShowGroupPanel GridViewImages.ContextMenuShowGroupPanel Controls group panel visibility
Show Column GridViewColumnMenuItemVisibility.ShowColumn ASPxGridViewTextSettings.ContextMenuShowColumn GridViewImages.ContextMenuShowColumn Shows the current column in the grid
Hide Column GridViewColumnMenuItemVisibility.HideColumn ASPxGridViewTextSettings.ContextMenuHideColumn GridViewImages.ContextMenuHideColumn Hides the current column
Show Customization Dialog ASPxGridViewCustomizationDialogSettings.Enabled ASPxGridViewTextSettings.ContextMenuShowCustomizationDialog GridViewImages.ContextMenuShowCustomizationDialog Shows Customization Dialog
Column Chooser GridViewColumnMenuItemVisibility.ShowCustomizationWindow ASPxGridViewTextSettings.ContextMenuShowCustomizationWindow GridViewImages.ContextMenuShowCustomizationWindow Controls Customization Window visibility
Clear Filter GridViewColumnMenuItemVisibility.ClearFilter ASPxGridViewTextSettings.ContextMenuClearFilter GridViewImages.ContextMenuClearFilter Clears the filter in the filter row
Search Panel GridViewColumnMenuItemVisibility.ShowSearchPanel ASPxGridViewTextSettings.ContextMenuShowSearchPanel GridViewImages.ContextMenuShowSearchPanel Controls search panel visibility
Filter Row GridViewColumnMenuItemVisibility.ShowFilterRow ASPxGridViewTextSettings.ContextMenuShowFilterRow GridViewImages.ContextMenuShowFilterRow Controls filter row visibility
Filter Row Menu GridViewColumnMenuItemVisibility.ShowFilterRowMenu ASPxGridViewTextSettings.ContextMenuShowFilterRowMenu GridViewImages.ContextMenuShowFilterRowMenu Controls filter row menu visibility
Filter Builder... GridViewColumnMenuItemVisibility.ShowFilterEditor ASPxGridViewTextSettings.ContextMenuShowFilterEditor GridViewImages.ContextMenuShowFilterEditor Controls filter builder visibility
Footer GridViewColumnMenuItemVisibility.ShowFooter ASPxGridViewTextSettings.ContextMenuShowFooter GridViewImages.ContextMenuShowFooter Controls footer visibility

Footer Context Menu Items

Items Visibility Member Text Member Image Member Description
Sum GridViewFooterMenuItemVisibility.SummarySum ASPxGridViewTextSettings.ContextMenuSummarySum GridViewImages.ContextMenuSummarySum Controls the visibility of a summary item that displays a sum of current column cell values
Min GridViewFooterMenuItemVisibility.SummaryMin ASPxGridViewTextSettings.ContextMenuSummaryMin GridViewImages.ContextMenuSummaryMin Controls the visibility of a summary item that displays the minimum cell value in the current column
Max GridViewFooterMenuItemVisibility.SummaryMax ASPxGridViewTextSettings.ContextMenuSummaryMax GridViewImages.ContextMenuSummaryMax Controls the visibility of a summary item that displays the maximum cell value in the current column
Count GridViewFooterMenuItemVisibility.SummaryCount ASPxGridViewTextSettings.ContextMenuSummaryCount GridViewImages.ContextMenuSummaryCount Controls the visibility of a summary item that displays a count of current column cell values
Average GridViewFooterMenuItemVisibility.SummaryAverage ASPxGridViewTextSettings.ContextMenuSummaryAverage GridViewImages.ContextMenuSummaryAverage Controls the visibility of a summary item that displays the average cell value in the current column
None GridViewFooterMenuItemVisibility.SummaryNone ASPxGridViewTextSettings.ContextMenuSummaryNone GridViewImages.ContextMenuSummaryNone Hides all summary items in the current column

Group Panel Context Menu Items

Items Visibility Member Text Member Image Member Description
Expand All GridViewGroupPanelMenuItemVisibility.FullExpand ASPxGridViewTextSettings.ContextMenuFullExpand GridViewImages.ContextMenuFullExpand Expands all group rows
Collapse All GridViewGroupPanelMenuItemVisibility.FullCollapse ASPxGridViewTextSettings.ContextMenuFullCollapse GridViewImages.ContextMenuFullCollapse Collapses all group rows
Group Panel GridViewGroupPanelMenuItemVisibility.ShowGroupPanel ASPxGridViewTextSettings.ContextMenuShowGroupPanel GridViewImages.ContextMenuShowGroupPanel Controls group panel visibility
Clear Grouping GridViewGroupPanelMenuItemVisibility.ClearGrouping ASPxGridViewTextSettings.ContextMenuClearGrouping GridViewImages.ContextMenuClearGrouping Clears grouping

Group Footer Context Menu Items

Items Visibility Member Text Member Image Member Description
Sum GridViewGroupFooterMenuItemVisibility.SummarySum ASPxGridViewTextSettings.ContextMenuSummarySum GridViewImages.ContextMenuSummarySum Controls the visibility of a summary item that displays a sum of current column cell values
Min GridViewGroupFooterMenuItemVisibility.SummaryMin ASPxGridViewTextSettings.ContextMenuSummaryMin GridViewImages.ContextMenuSummaryMin Controls the visibility of a summary item that displays the minimum cell value in the current column
Max GridViewGroupFooterMenuItemVisibility.SummaryMax ASPxGridViewTextSettings.ContextMenuSummaryMax GridViewImages.ContextMenuSummaryMax Controls the visibility of a summary item that displays the maximum cell value in the current column
Count GridViewGroupFooterMenuItemVisibility.SummaryCount ASPxGridViewTextSettings.ContextMenuSummaryCount GridViewImages.ContextMenuSummaryCount Controls the visibility of a summary item that displays the count of current column cell values
Average GridViewGroupFooterMenuItemVisibility.SummaryAverage ASPxGridViewTextSettings.ContextMenuSummaryAverage GridViewImages.ContextMenuSummaryAverage Controls the visibility of a summary item that displays the average cell value in the current column
None GridViewGroupFooterMenuItemVisibility.SummaryNone ASPxGridViewTextSettings.ContextMenuSummaryNone GridViewImages.ContextMenuSummaryNone Hides all summary items in the current column