Skip to main content

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

procedure RetrieveFields(APivotGrid: TcxCustomPivotGrid);

Parameters

Name Type
APivotGrid TcxCustomPivotGrid

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