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.
I would appreciate if someone can share how to define different format caption summaries for each level of the grouping in a multiple level grouping. Thanks.
KKKarthikraja Kalaimani Syncfusion Team August 24, 2021 12:32 PM UTC
Hi Halil,
Thank you for contacting Syncfusion support.
We have prepared for you requirement "to show different caption summaries with format". In that sample, we written custom caption summary cell renderer to change the text of caption summary based on the level of the group. For more details, please refer to the below code snippets and attached.
Code snippets :
.... dataGrid.CellRenderers.Remove("CaptionSummary"); dataGrid.CellRenderers.Add("CaptionSummary", new GridCaptionSummaryCellRendererExt()); ....
public class GridCaptionSummaryCellRendererExt : GridCaptionSummaryCellRenderer
{
public GridCaptionSummaryCellRendererExt()
{
}
public override void OnInitializeDisplayView(DataColumnBase dataColumn, SfLabel view)