Click here to Skip to main content
15,912,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I am using infragistics ultragrid in my application for billing .but i don't know how to sum the amount column and display it in textbox on adding items to it .
please anybody help me . i am a beginner in ultragrid


Thanks in advance
Posted

Try this one:
C#
UltraGridColumn columnToSummarize = ugSelectStock.Rows.Band.Columns["quantity"];
                    SummarySettings ss = ugSelectStock.Rows.Band.Summaries.Add("Grand Total", SummaryType.Sum, columnToSummarize);
                    ss.Appearance.TextHAlign = Infragistics.Win.HAlign.Right;
                    ss.Appearance.FontData.Bold = Infragistics.Win.DefaultableBoolean.True;
 
Share this answer
 
v2
They have a very good forum, blogs and online support. Why don't you use it?

A simple search there, gave me a similar discussion thread:http://blogs.infragistics.com/forums/t/6434.aspx[^]
It looks like: The GroupByRowDescriptionMask allows you to sum, min, max etc in a groupbyrow for a specific column.

Have a look here: UltraGrid Class[^]
Ingragistic Forum[^]
Infragistic Blogs[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900