The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
HAhaneefm Syncfusion Team May 4, 2007 03:14 PM UTC
Hi,
The GridSummaryColumnDescriptor.Format string used to format the text to display in the summary column. A format string consists of the PropertyName of the summaryType and a format specifier known from String.Format, e.g. {Average:###.00}. Colud you try this code
//SummaryCell description in a grid. GridSummaryColumnDescriptor sd = new GridSummaryColumnDescriptor(); sd.DataMember= "DataColumName"; sd.DisplayColumn = "DisplayColumnName"; sd.Format = "{Sum:F1}"; sd.SummaryType = SummaryType.DoubleAggregate;
//Adding SummaryCell in a grid. this.gridGroupingControl1.TableDescriptor.SummaryRows.Add(new GridSummaryRowDescriptor("Col2", "Sum", sd));