Skip to main content
A newer version of this page is available. .

Customization Form Styles

  • 2 minutes to read

The style defines the Customization Form layout and the capabilities available for end users. To specify the required style, use the PivotGridOptionsCustomization.CustomizationFormStyle property.

The Customization Form can be painted in two styles: Simple and Excel 2007.

Simple Style

A simple-style Customization Form displays hidden fields.

CustomizationForm_SimpleStyle

End users can hide visible fields by dragging and dropping them onto the Customization Form, and return hidden fields to the pivot report when drop them onto appropriate Header Areas.

When end users move fields to the Customization Form, the field’s visibility is changed, but the field’s area remains unchanged.

Excel 2007 Style

An Excel-style Customization Form contains a separate section where hidden fields are displayed and four more sections that display visible fields located in the Column, Data, Filter, and Row areas.

CustomizationForm_Excel2007Style

Similar to a simple-style Customization Form, end users can hide visible fields by dragging and dropping them into the Hidden Fields section and return hidden fields to the pivot report by dropping them onto appropriate Header Areas. When end users move fields to the Hidden Fields section, the field’s visibility is changed, but the field’s area remains unchanged.

A list below displays additional capabilities provided by the Excel-style Customization Form:

  • Drag field’s header between the Customization Form’s area boxes to move the field to a specific area.
  • Delay layout updates. First, check the Defer Layout Update check box, then drag fields between the areas and click the Update button to apply changes.
  • Sort and filter data. You can toggle the sort order of fields by clicking their headers in the Customization Form and invoke filter popup windows using the filter buttons.

    Use the PivotGridOptionsCustomization.AllowSortInCustomizationForm and PivotGridOptionsCustomization.AllowFilterInCustomizationForm properties to specify whether or not end users are allowed to perform sorting and filtering in the Customization Form.

You can display hidden fields in a list or hierarchical structure. To learn more, see the User Folders topic.

End users can change the Customization Form layout using a popup menu.

EU_XtraPivotGrid_FieldListLayout

Use the PivotGridOptionsCustomization.CustomizationFormAllowedLayouts property to list all the allowed layouts and prevent end users from selecting particular layouts.

To specify a preferred layout in code, use the PivotGridOptionsCustomization.CustomizationFormLayout property.

If a layout is not specified as allowed, it is hidden from the Customization Form Layout menu, and assigning it to the CustomizationFormLayout property has no effect.

See Also