DxPivotGridField.Area Property

Specifies the area in which the field is displayed.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
public PivotGridFieldArea Area { get; set; }

Property Value

Type Description
PivotGridFieldArea

A PivotGridFieldArea value that specifies the area in which the field is displayed.

Available values:

Name Description
Row

A row field.

Column

A column field.

Data

A data field.

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" />
    
  • Row Header Area contains fields that represent grid rows.

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

    <DxPivotGridField Field="@nameof(SaleInfo.OrderId)" 
                      Area="PivotGridFieldArea.Data" 
                      Caption="Count"
                      SummaryType="PivotGridSummaryType.Count" />
    
NOTE

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

See Also