Skip to main content

TcxCustomDataSummaryItem Class

The base class for summary items.

Declaration

TcxCustomDataSummaryItem = class(
    TCollectionItem
)

Remarks

A summary item calculates and displays a summary of a data item according to one of the predefined algorithms in a footer (footer summary) or a data group (group summary).

VCL Data Controller: Group and Footer Summary Items

The TcxCustomDataSummaryItem class implements base summary functionality.

Main API Members

The list below outlines key members of the TcxCustomDataSummaryItem class. These members allow you to configure common summary item settings.

Format
Specifies a custom formatting pattern for summary display text.
ItemLink
Allows you to associate the summary item with a data item.
Kind
Specifies a predefined summary calculation algorithm.

General-Purpose API Members

Assign
Copies compatible settings between summary items.
BeginUpdate | EndUpdate
Allow you to avoid excessive summary recalculations and corresponding redraw operations during batch summary item setting changes.
Collection
Provides access to the parent summary item collection.
DataController | Field
Provide access to the parent data controller and the source data field in it.
Index
Returns the summary item’s index in the parent collection.

Terminal TcxCustomDataSummaryItem Class Descendants

Do not use the TcxCustomDataSummaryItem class directly. Use the following descendants instead:

TcxGridDBTableSummaryItem
A summary calculated using values of a tabular View’s data field.
TcxGridServerModeBandedSummaryItem
TcxGridServerModeSummaryItem
TcxGridTableSummaryGroupItemLink
Links a column with group summaries in a summary group.
TcxGridTableSummaryItem
A column summary.
TcxTreeListSummaryItem
A set of appearance and calculation options for a column‘s footer and group summaries.

Inheritance

TObject
TPersistent
TCollectionItem
TcxCustomDataSummaryItem
See Also