Advertisement

04.28.2008 at 12:03PM PDT, ID: 23359822
[x]
Attachment Details

ultraWinGrid column summaries

Asked by KavyaV in Infragistics, Microsoft Visual C#.Net

Tags: C#

ultraWinGrid column summaries

In the InitializeLayOut event of the ultraWinGrid I added the following  code to calculate the column summaries for two of the columns. Both the columns populated with the double values from dataset.
this.ugrid.DisplayLayout.Bands[0].Summaries.Add(SummaryType.Sum, this.ugrid.DisplayLayout.Bands[0].Columns["cmf"]);
this.ugrid.DisplayLayout.Bands[0].Summaries.Add(SummaryType.Sum, this.ugrid.DisplayLayout.Bands[0].Columns["gcd"]);
           
I need to format the column summary value with the following format.
summary.DisplayFormat = "{0:###,###,##0}"

Pls give me an idea how to format the summary value for the above 2 columns.

Thank You,
Kavya


Start Free Trial
[+][-]04.30.2008 at 07:03PM PDT, ID: 21476041

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 07:45AM PDT, ID: 21479108

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.03.2008 at 06:42PM PDT, ID: 21494301

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Infragistics, Microsoft Visual C#.Net
Tags: C#
Sign Up Now!
Solution Provided By: PlatoConsultant
Participating Experts: 1
Solution Grade: B
 
 
[+][-]05.05.2008 at 10:41AM PDT, ID: 21501605

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628