Skip to main content

DxPivotGrid.ShowFieldHeaders Property

Specifies whether to display field headers.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[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