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.

Different summary calculation for a specific summary column in a Custom Summary Row

Thread ID:

Created:

Updated:

Platform:

Replies:

49678 Sep 22,2006 09:19 PM Sep 22,2006 10:37 PM Windows Forms 2
loading
Tags: Grouping
jamesb
Asked On September 22, 2006 09:19 PM

I have a custom summary implemention. Let''s assume that I have three cols (C1, C2, C3). I would like to the last column (C3) to have a different summary calculation than that used for the other columns (C1 and C2) in the summary row.

Is this possible? I would think it is possible is I could dynamically get the name to column from the ''SummaryColumns'' collection.
How would I specify this different custom calculation from the default calculation in my custom summary class?

thx.

jamesb
Replied On September 22, 2006 09:58 PM

I think that i found a way...

public static ISummary CreateSummaryMethod(SummaryDescriptor sd, Record record)

if (sd.FieldDescriptor.GetName() == "MyCol")
{
///my column based logic
return new Summary(...);
}


>I have a custom summary implemention. Let''s assume that I have three cols (C1, C2, C3). I would like to the last column (C3) to have a different summary calculation than that used for the other columns (C1 and C2) in the summary row.

Is this possible? I would think it is possible is I could dynamically get the name to column from the ''SummaryColumns'' collection.
How would I specify this different custom calculation from the default calculation in my custom summary class?

thx.

jamesb
Replied On September 22, 2006 10:37 PM

Ok, another question...

Can I do the same for the built in Summary columns, i.e, for specific columns, plug in my own calculation or display a custom text without resorting to creating a custom summary

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.

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.

;