PivotGridWebOptionsView.DataHeadersDisplayMode Property
Gets or sets a value that specifies how data headers are displayed.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
Declaration
[DefaultValue(PivotDataHeadersDisplayMode.Default)]
public PivotDataHeadersDisplayMode DataHeadersDisplayMode { get; set; }
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:
Object Type | Path to DataHeadersDisplayMode |
---|---|
ASPxPivotGrid |
|
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.
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.