I have two bands on my ultraWinGrid.
I would like add summary on my bands(0) of sum of all column "total" on my bands(1).
Francois.
Hi,
Nothing work for me on VB
I Want the sum of my colunm "Detail" on bands(1), in summary bands(0)
see my attach file 255 + 459...
But you project is ok, but don't work on VB, maybe because your column on bands(0) is the smae of bands(1) ??
Because my column on bands(0) don't exist.
Dim ss As New SummarySettings
ss = .Summaries.Add(
))
ss.SummaryType =
.Custom
ss.CustomSummaryCalculator =
SummaryCalculator
Private Class
ICustomSummaryCalculator
= 0
Public Sub New
()
End
Sub
.BeginCustomSummary
' Begins the summary for the SummarySettings object passed in. Implementation of
' this method should reset any state variables used for calculating the summary.
.totals = 0
.AggregateCustomSummary
For Each chRow As UltraGridRow In
row.ChildBands(0).Rows
Me.totals += chRow.Cells("Quantite"
).Value
Next
.EndCustomSummary
' This gets called when the every row has been processed so here is where we
' would return the calculated summary value.
.totals
Function
Class
Hello,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Hello Francois,
Could you please review the sample attached to this post and see if it meets your requirements.Please feel free to let me know if I misunderstood you or if you have any other questions.