Skip to main content

TcxPivotGridCustomDataSet Class

Represents the base class for all classes that cache pivot grid data into an in-memory read-only dataset to be visualized in data-aware controls.

Declaration

TcxPivotGridCustomDataSet = class(
    TdxCustomMemData,
    IcxPivotGridListener
)

Remarks

This class uses pivot grid data to create an in-memory read-only dataset and update it in response to changes to the pivot grid’s summary data, field layout, or selection. With a TDataSource component, this dataset can be bound to any data-aware control.

In addition to the members inherited from the base TdxCustomMemData class, the TcxPivotGridCustomDataSet class introduces members that allow you to:

  • Link to the pivot grid (PivotGrid).

  • Create a dataset and synchronize its structure and contents with a linked pivot grid (the CreateData method and the SynchronizeData property).

  • Track changes to the dataset’s structure and contents (OnDataChanged).

  • Perform specific actions after a dataset’s field has been created (OnCreateField).

TcxPivotGridCustomDataSet descendants – the TcxCustomPivotGridSummaryDataSet and TcxCustomPivotGridDrillDownDataSet classes – represent datasets that cache summary data and drill-down data of cross cells, respectively.

Inheritance

See Also