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

SummaryRowDescriptor perfomance questions.

Thread ID:

Created:

Updated:

Platform:

Replies:

56269 Feb 12,2007 09:46 PM UTC Feb 15,2007 11:32 PM UTC Windows Forms 1
loading
Tags: Grouping
James Blibo
Asked On February 12, 2007 09:46 PM UTC

I have a couple of SummaryRowDescriptor. Can I declare a variable globally that reference a particular SummaryRowDescriptor Row and retrieve the calculation from within that SummaryRow or SummaryColumn directly instead of constantly doing this from QueryCellStyleInfo...

table = el.ParentTable as GridTable;
summaryRowDescriptor = table.TableDescriptor.SummaryRows["SpotSummaryRow"];
summaryColumn = summaryRowDescriptor.SummaryColumns["_Spot_TotalDollar"];

if (summaryColumn != null)
{
sd = summaryColumn.SummaryDescriptor;
if (sd != null)
{
int index = table.TableDescriptor.Summaries.IndexOf(sd);
ISummary sum = el.ParentGroup.GetSummaries(table)[index];
e.Style.Text = summaryColumn.GetDisplayText(sum);



}
}

Administrator [Syncfusion]
Replied On February 15, 2007 11:32 PM UTC

Hi James,

You can globally declare the summary row descriptor and get the summary value using the GetSummaries method. Please try the suggestion and let me know if this helps.

Best regards,
Haneef

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

;