Syncfusion.SfDataGrid.XForms
Example 

TableSummaryRows Property (SfDataGrid)

Gets or sets the collection of table summary rows of the SfDataGrid. The table summary value is calculated based on all the records in SfDataGrid. SfDataGrid allows you to add multiple table summary rows either at top or bottom or at both positions.
Syntax
public ObservableCollection<GridTableSummaryRow> TableSummaryRows {get; set;}

Property Value

The collection of GridTableSummaryRow of SfDataGrid.
Remarks
SfDataGrid provides built-in support for table summaries. Table Summary is used to display the summary information at top and/or bottom in SfDataGrid. The user can add table summary row in SfDataGrid by adding GridTableSummaryRow to the TableSummaryRows collection.
Example
GridTableSummaryRow summaryRow = new GridTableSummaryRow();
summaryRow.SummaryColumns.Add(new GridSummaryColumn()
   {
   Name = "TotalSalary",
   MappingName = "Salary",
   Format = "{Sum}",
   SummaryType = SummaryType.DoubleAggregate
   });
sfGrid.TableSummaryRows.Add(summaryRow);
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.1451.0.38

See Also