We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Single Value Custom Summaries

Thread ID:

Created:

Updated:

Platform:

Replies:

90813 Oct 19,2009 10:35 PM UTC Oct 21,2009 12:11 PM UTC Windows Forms 1
loading
Tags: Grouping
Tobias O''Leary
Asked On October 19, 2009 10:35 PM UTC

Hey,

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;
}
}

Thanks for the awesome support,
Tobias

Jisha Joy [Syncfusion]
Replied On October 21, 2009 12:11 PM UTC

Hi Tobias,

Could you please let me know, which grid you are using, web or windows?

Regards,
Jisha

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;