Skip to main content

cxGridPopupMenu: Resource Strings

  • 6 minutes to read

This topic describes the resource strings used by the TcxGridPopupMenu component for built-in menu items. TcxGridPopupMenu provides standard popup menus for column headers, View footer panels, group footer panels, and group rows. To enable built-in menu items, set the TcxGridPopupMenu.UseBuiltInPopupMenus property to True.

Resource strings used by the TcxGridPopupMenu component are declared in the cxGridPopupMenuConsts unit.

Refer to the Resource Strings topic for general information on resource strings.

Resource identifier

Value

Description

cxSGridNone

‘None’

Specifies the default caption for the custom menu operation inherited from the TcxGridPopupMenuOperation.

Column Header Popup Menu

Resource identifier

Value

Description

cxSGridAlignCenter

‘Align Center’

Specifies an action, which aligns a column’s contents to the center.

cxSGridAlignLeft

‘Align Left’

Specifies an action, which aligns a column’s contents to the left.

cxSGridAlignmentSubMenu

‘Alignment’

The caption for the menu item to combine alignment relevant options (Align Center, Align Left, Align Right).

cxSGridAlignRight

‘Align Right’

Specifies an action, which aligns a column’s contents to the right.

cxSGridBestFit

‘Best Fit’

Specifies an action, which changes the width of a column so that all its values are displayed entirely.

The program equivalent of this option is the item‘s ApplyBestFit method.

cxSGridBestFitAllColumns

‘Best Fit (all columns)’

Specifies an action, which changes the widths of all columns so that their values are displayed entirely.

The program equivalent of this option is the View’s ApplyBestFit method.

cxSGridClearSorting

‘Clear Sorting’

Specifies an action, which clears sorting against a column.

The program equivalent of this option is setting the column’s SortOrder property to soNone.

cxSGridFieldChooser

‘Field Chooser’

Specifies an action, which toggles the visibility of the View’s Customization form.

The program equivalent of this option is setting the column’s SortOrder property to soNone.

cxSGridShowFindPanel

‘Find Panel’

Specifies an action that switches the visibility of the View’s Find Panel.

Code equivalents: the View’s Controller.ShowFindPanel and Controller.HideFindPanel methods.

cxSGridGroupByBox

‘Group By Box’

Specifies an action, which toggles the visibility of the View’s Group By box.

The program equivalent of this option is the View’s Controller.Customization property.

cxSGridGroupByThisField

‘Group By This Field’

The caption for the menu item used to group data by a specific column.

When you click the menu item, the current column is added to the collection of grouping columns (the column will be displayed within the group panel).

The program equivalent of the option is the View’s OptionsView.GroupByBox property.

The menu is invoked by right-clicking a column header.

cxSGridRemoveColumn

‘Remove This Column’

The caption for the menu item used to hide the current column.

Selecting the option hides the column by setting its Visible property to False.

cxSGridSortColumnAsc

‘Sort Ascending’

The caption for the menu item used to specify the ascending sort order for the current column.

Selecting this option in turn activates the ascending sort order or disables sorting.

The program equivalent of the option is setting the column’s SortOrder property to soAscending or soNone.

The menu is invoked by right-clicking a column header.

cxSGridSortColumnDesc

‘Sort Descending’

The caption for the menu item used to specify the ascending sort order for the current column.

Selecting the option in turn activates the descending sort order or disables sorting.

The program equivalent of the option is setting the column’s SortOrder property to soDescending or soNone.

The menu is invoked by right-clicking a column header.

cxSGridRemoveThisGroupItem

‘Remove from grouping’

The caption for the menu item used to hide the current column.

Selecting the option hides the column by setting its Visible property to False.

cxSGridShowFooter

‘Footer’

The caption for the menu item used to display/hide the Footer panel.

The Footer panel is used to display footer summaries (summaries calculated against all records of the current View).

Selecting the option in turn sets the View’s OptionsView.Footer property to False (if the panel is visible) or True (if the panel is hidden).

The menu is invoked by right-clicking a column header.

cxSGridShowGroupFooter

‘Group Footers’

The caption for the menu item used to display/hide Group Footers.

Group Footers display group summaries (summaries calculated against data groups when grouping is applied).

Selecting the option in turn sets the View’s OptionsView.GroupFooters property to False (if group footers are visible) or True (if they are hidden).

The menu is invoked by right-clicking a column header.

Footer Popup Menu

Resource identifier

Value

Description

cxSGridAvgMenuItem

‘Average’

The caption for the menu item used to calculate an Average summary value against a specific column.

Selecting this option removes the existing summary item or creates a new one to calculate the average value against the column.

cxSGridCountMenuItem

‘Count’

The caption for the menu item used to calculate a Count summary value against a specific column.

Selecting this option removes the existing summary item or creates a new one to calculate the number of records within a group or the total number of records in the current View.

cxSGridMaxMenuItem

‘Max’

The caption for the menu item used to calculate a Max summary value against a specific column.

Selecting this option removes the existing summary item or creates a new one to calculate the maximum value against the column.

cxSGridMinMenuItem

‘Min’

The caption for the menu item used to calculate a Min summary value against a specific column.

Selecting this option removes the existing summary item or creates a new one to calculate the minimum value against the column.

The menu is invoked by right-clicking the View’s Footer and Group Footer panels.

cxSGridNoneMenuItem

‘None’

The caption for the menu item used to remove a summary, if any, for the current column.

cxSGridSumMenuItem

‘Sum’

The caption for the menu item used to calculate a Sum summary value against a specific column.

Selecting this option removes the existing summary item or creates a new one to calculate a sum of values against the column.

Group By Box Popup Menu

Resource identifier

Value

Description

cxSGridFullExpand

‘Full Expand’

Specifies an action that expands all group rows.

cxSGridFullCollapse

‘Full Collapse’

Specifies an action that collapses all group rows.

cxSGridFullCollapse

‘Clear Grouping’

Specifies an action that clears grouping.

cxSGridHideGroupByBox

‘Hide Group By Box’

Specifies an action that hides the Group By box. End-users can switch the visibility of the Group By box by clicking the corresponding item in the column header popup menu.

Group Row Popup Menu

Resource identifier

Value

Description

cxSGridSortByGroupValues

‘Sort by Group Value’

The caption for the menu item used to sort group rows by group values.

Selecting this option sorts group rows at the same level by their values.

cxSGridSortBySummary

‘%s for %s’

The format pattern used to create the default caption for menu items associated with group summary objects available at this level.

The first format specifier denotes the summary function used to calculate the group summary. The second format specifier denotes the column for which the group summary is calculated.

Selecting any of these menu items specifies a group summary whose values are used to sort group rows at the same level.

cxSGridSortBySummaryCaption

‘Sort by Group Summary:’

The caption for the menu item used as a label before a list of menu items that correspond to all available group summaries at this level.

See Also