Hi Ross,
Thanks for using Syncfusion
products.
Your requirement "Sum
of individual columns" can be achieved through using GridSummaryRowDescriptorCollection.
Please refer the following
code snippet:
private GridSummaryRowDescriptorCollection SummaryCollection
{
get
{
GridSummaryRowDescriptorCollection summaryRowsCollection = new
GridSummaryRowDescriptorCollection();
GridSummaryColumnDescriptor SumDuration = new
GridSummaryColumnDescriptor("Duration", SummaryType.Int32Aggregate,
"Duration", "{Sum:####}");
GridSummaryRowDescriptor sumRow =new GridSummaryRowDescriptor("tot");
sumRow.Title = "Total Duration";
SumDuration.Prefix = "Tot : ";
sumRow.SummaryColumns.Add(SumDuration);
summaryRowsCollection.Add(sumRow);
return summaryRowsCollection;
}
}
Please refer to the below link to download the sample application.
SampleSummaryColumn.zip
Please let me know if you have any concerns.
Regards,
Mohanraj