Advertisement

07.01.2008 at 11:47PM PDT, ID: 23532646
[x]
Attachment Details

Calculate totals for more then 1 column in Ultragrid (Infralogistics)

Asked by mark_norge in Infragistics

Tags: Visual basic .net

Hi,

I use the code below to get the total of the column boxes in an UltraGrid and this works fine.
Dim columnToSummarize As UltraGridColumn = e.Layout.Bands(0).Columns("Boxes")
Dim summary As SummarySettings = e.Layout.Bands(0).Summaries.Add("GrandTotal", SummaryType.Sum, columnToSummarize)

However I would also like to show the total net weight in the same Ultragrid. I have tried to change and copy the code above, but no luck.

Does someone know if and how this is possible to show a second total?
Regards, MBStart Free Trial
[+][-]07.02.2008 at 01:23PM PDT, ID: 21920344

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

Zone: Infragistics
Tags: Visual basic .net
Sign Up Now!
Solution Provided By: ZeonFlash
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628