Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxPivotGrid.ShowFieldHeaders Property

Specifies whether to display field headers.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(true)]
[Parameter]
public bool ShowFieldHeaders { get; set; }

#Property Value

Type Default Description
Boolean true

true, to show field headers; false, to hide field headers.

#Remarks

Use the field’s Area property to specify the field location: Column Header Area, Row Header Area, or Data Header Area.

PivotGrid Areas

  • Column Header Area contains fields that define grid columns.

    <DxPivotGridField Field="@nameof(SaleInfo.Date)" Area="PivotGridFieldArea.Column"></DxPivotGridField>
    
  • Row Header Area contains fields that define grid rows.

    <DxPivotGridField Field="@nameof(SaleInfo.Region)" Area="PivotGridFieldArea.Row"></DxPivotGridField>
    
  • Data Header Area contain fields that store data for grid cells.

    <DxPivotGridField Field="@nameof(SaleInfo.Amount)" Area="PivotGridFieldArea.Data"></DxPivotGridField>
    

Note

To hide field headers, set the ShowFieldHeaders property to false.

See Also