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 think I understand how to create a custom summary when you want to combine results in the display rows. However, we're paging rows for performance reasons, 40+ columns with summaries and 100,000+ resulting row. Of course paging these rows leads to the regular old summaries to combine what's displayed in the grid instead of a summary for the whole result. Do you have suggestions on the best way to accomplish this?
Here's what I'm attempting to do now. 1. Get the results I want to display. 2. Set a CustomSummary that is built to just display the result I want using grouped columns to decide on the value to display.
Is there another way of doing this? So a method doesn't have to be called over and over again.
Here's what I would like to do. 1. Get the results I want to display. 2. Loop through the summary cells and use row and groups to decide the result to display. 3. Put the result in the summary cell.
Steps 2 and 3 I would appreciate help with.
My current CustomSummary looks like this:
public class WholeResultSummary : SummaryBase {
//initialize with the item to display WholeResultSummary(string val) {_val = val;}
//combine method does nothing since we're always display the //initial value. public override SummaryBase Combine(SummaryBase other) { return this; }
//just display the value. public override string ToString() { return _val; } }