Back to Devexpress

TcxPivotGridCustomOLAPDataSource.RetrieveFields(TcxCustomPivotGrid) Method

vcl-cxcustompivotgrid-dot-tcxpivotgridcustomolapdatasource-dot-retrievefields-x28-cxcustompivotgrid-dot-tcxcustompivotgrid-x29.md

latest1.8 KB
Original Source

TcxPivotGridCustomOLAPDataSource.RetrieveFields(TcxCustomPivotGrid) Method

Creates pivot grid fields and field groups for all elements defined in an OLAP cube bound to a specific pivot grid.

Declaration

delphi
procedure RetrieveFields(APivotGrid: TcxCustomPivotGrid);

Parameters

NameType
APivotGridTcxCustomPivotGrid

Remarks

The APivotGrid parameter specifies the pivot grid whose fields are to be created.

This method creates the following elements:

  • Data fields for cube measures and KPIs. These data fields cannot be filtered by its values or moved to the column, row, or filter header area.

  • Fields for cube dimensions and named sets. These fields cannot be moved to the data header area.

  • Field groups for hierarchy members.

To initialize the properties of the created fields, handle the OnInitializeField event.

Note

All created fields and field groups are hidden by default. End-users can drag these fields from the customization form to position them within the pivot grid.

See Also

TcxPivotGridOLAPField

TcxPivotGridCustomOLAPDataSource Class

TcxPivotGridCustomOLAPDataSource Members

cxCustomPivotGrid Unit