Caption Summary Demo

This sample demonstrates displaying a summary in caption cells.

Features:

                // Creating summaries in caption.
                this.gridGroupingControl1.ChildGroupOptions.ShowCaptionSummaryCells = true;
                this.gridGroupingControl1.ChildGroupOptions.ShowSummaries = false;
                this.gridGroupingControl1.ChildGroupOptions.CaptionSummaryRow = "Sum";
                this.gridGroupingControl1.ChildGroupOptions.CaptionText = "{RecordCount} Items";

                // Providing a good look and enabling the CaptionSummaryCells as RecordFieldCells.
                this.gridGroupingControl1.Appearance.GroupCaptionCell.BackColor = this.gridGroupingControl1.Appearance.RecordFieldCell.BackColor;
                this.gridGroupingControl1.Appearance.GroupCaptionCell.Borders.Top = new GridBorder(GridBorderStyle.Standard);
                this.gridGroupingControl1.Appearance.GroupCaptionCell.CellType = "Static";  

Given below is a sample screenshot.

SummaryInCaption