DxPivotGrid.ShowFieldHeaders Property

Specifies whether to display field headers.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue(true)]
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 represent grid columns.

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

    <DxPivotGridField Field="@nameof(SaleInfo.Region)" Area="PivotGridFieldArea.Row"></DxPivotGridField>
    
  • Data Header Area contain fields that provide 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