PivotGridWebOptionsView.DataHeadersDisplayMode Property

Gets or sets a value that specifies how data headers are displayed.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v20.2.dll

Declaration

[DefaultValue(PivotDataHeadersDisplayMode.Default)]
public PivotDataHeadersDisplayMode DataHeadersDisplayMode { get; set; }
<DefaultValue(PivotDataHeadersDisplayMode.Default)>
Public Property DataHeadersDisplayMode As PivotDataHeadersDisplayMode

Property Value

Type Default Description
PivotDataHeadersDisplayMode

Default

A PivotDataHeadersDisplayMode enumeration value that specifies how data headers are displayed.

Available values:

Name Description
Default

Data headers are displayed within the Data Header Area.

Popup

The ASPxPivotGrid automatically hides data fields if there are three or more data fields. The minimum number of data fields, required to activate this feature, is specified by the PivotGridWebOptionsView.DataHeadersPopupMinCount property.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to DataHeadersDisplayMode
ASP.NET Controls and MVC Extensions ASPxPivotGrid
.OptionsView.DataHeadersDisplayMode
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsView.DataHeadersDisplayMode
PivotGridSettings
.OptionsView.DataHeadersDisplayMode

Remarks

The ASPxPivotGrid allows you to display data in a more compact manner by temporarily hiding data field headers. In this instance, data fields are displayed within a hidden panel, which pops up when an end-user hovers the mouse over the data header area. This might be useful when there are three or more data fields.

DataHeadersDisplayMode

To enable this feature, set the DataHeadersDisplayMode property to 'Popup'. If enabled, the ASPxPivotGrid automatically hides data fields if there are three or more data fields. The minimum number of data fields required to activate this feature are specified by the PivotGridWebOptionsView.DataHeadersPopupMinCount property.

See Also