TcxDataSummaryItems Class
The base class for summary item collections.
Declaration
TcxDataSummaryItems = class(
TcxCollection
)
Remarks
A summary controller uses summary item collections to manage group and footer summaries.
Main API Members
The list below outlines key members of the TcxDataSummaryItems
class. These members allow you to manage and configure summary items.
Collection Management APIs
- Add
- Creates a new summary item and adds it to the collection.
- Clear
- Clears the collection.
- Count
- Returns the number of stored summary items.
- Delete | DeleteItems
- Delete individual summary items.
- FindByTag
- Returns the first summary item in the collection with the specified tag.
- Items
- Provides indexed access to summary items in the collection.
Summary-Related APIs
- DefaultFormat
- Returns the default formatting pattern for the summary item with the specified data type, position, and calculation algorithm.
- OnSummary
- Allows you to customize summary calculation.
General-Purpose API Members
- Assign
- Copies settings and stored items between summary item collections.
- BeginUpdate | EndUpdate
- Allow you to avoid excessive notifications and corresponding redraw operations during batch collection changes.
- DataController | Summary
- Provide access to parent data and summary controllers.
Terminal TcxDataSummaryItems Class Descendants
Do not use the TcxDataSummaryItems
class directly. Use the following descendants instead:
- TcxDataFooterSummaryItems
- A collection of footer summaries.
- TcxDataGroupSummaryItems
- A collection of group summaries.
Indirect TcxDataSummaryItems Class Reference
The TcxDataSummaryItem.SummaryItems property references the TcxDataFooterSummaryItems or TcxDataGroupSummaryItems class as a TcxDataSummaryItems
object.
Related Compiled Demo
To see group and footer summaries in action, run the Grid and Data Editors demo in the VCL Demo Center installed with compiled DevExpress demos. Click Data Summaries or Advanced Data Filtering in the sidebar to select the corresponding VCL Data Grid demo.
Tip
You can find full source code for the installed compiled VCL Data Grid demo in the following folder:
%Public%\Documents\DevExpress VCL Demos\MegaDemos\Product Demos\ExpressQuantumGrid