ASPxPivotGrid.GetFieldsByArea(PivotArea) Method
In This Article
Returns all visible pivot grid fields located at the specified area.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public List<PivotGridField> GetFieldsByArea(
PivotArea area
)
#Parameters
Name | Type | Description |
---|---|---|
area | Pivot |
A Pivot |
#Returns
Type | Description |
---|---|
List<Pivot |
The list of visible pivot grid fields located at the specified area. |
#Remarks
The following example shows how to obtain visible pivot grid fields located within the Column Header Area.
List<PivotGridField> fieldList =
pivotGrid.GetFieldsByArea(DevExpress.XtraPivotGrid.PivotArea.ColumnArea);
To obtain a pivot grid field located at the specified position within the specified area, use the ASPxPivotGrid.GetFieldByArea method.
See Also