Hi!
I'm using the UltraGrid (in namespace Infragistics.Win.UltraWinGrid) and I want to sum all the values (integers) in a certain column in the grid and put the result in a textbox (not in an extra row in the grid!). How do I do that?
I'm using version 6.2.
Regards, Emelia
You can always enumerate through your rows collection and calculate the sum yourself, but maybe you want the grid to calculate it?
Have you tried using Summaries? This allows the grid to calculate certain summary columns automatically, and using the SummaryValue class or SummaryValueChanged event you can get the results (to put in your textbox)...
I do not want to loop thru the rows and sum the values, I want the grid to do it for me!
Can you maybe give me an example on how to use the summaries? What is it? A class or method on the UltraGridColumn?