Syncfusion.SfDataGrid.XForms
Example 

GroupSummaryRows Property

Gets or sets the collection of group summary rows of the SfDataGrid. The group summary value is calculated based on the grouped records in SfDataGrid. SfDataGrid allows you to add multiple group summary.
Syntax
public ObservableCollection<GridGroupSummaryRow> GroupSummaryRows {get; set;}

Property Value

The collection of GridGroupSummaryRow of SfDataGrid.
Remarks
SfDataGrid provides built-in support for group summaries. Group Summary is used to display the summary information. The user can add group summary row in SfDataGrid by adding GridGroupSummaryRow to the GroupSummaryRows collection.
Example
GridGroupSummaryRow summaryRow = new GridGroupSummaryRow();
summaryRow.SummaryColumns.Add(new GridSummaryColumn()
   {
   Name = "Salary",
   MappingName = "Salary",
   Format = "{Sum}",
   SummaryType = SummaryType.DoubleAggregate
   });
sfGrid.GroupSummaryRows.Add(summaryRow);
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.2451.0.34

See Also