Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxDBDataSummaryItem Class

Represents a single summary to calculate against a specific field.

#Declaration

Delphi
TcxDBDataSummaryItem = class(
    TcxDataSummaryItem
)

#Remarks

The TcxDBDataSummaryItem class extends the functionality provided by the TcxDataSummaryItem class. It enables operations on the TDataSet object. TcxDBDataSummaryItem allows you to specify a dataset field from the corresponding data controller against which a summary is calculated. The summary result will be positioned based on the item specified by the ItemLink property. If you do not assign a field to the FieldName property, the summary will be evaluated against values of the item specified by the ItemLink property.

TcxDBDataSummaryItem is an element of the collection represented by the TcxDataSummaryItems class. TcxDataSummaryItems is the base class for TcxDataFooterSummaryItems and TcxDataGroupSummaryItems which implement footer summaries and group summaries respectively.

To add a summary, use the TcxCustomDataController.Summary property.

See Also