I have a Grid with LevelCount=2 and a SummaryArea. But the SummaryColumns are only shown for Level=1. What can I do ?
Hansjörg
Hi Hansjörg,
I'm afraid I do not understand what you mean. What's a SummaryColumn?
Levels don't have anything to do with summaries, really. Summaries are laid out in as many rows as needed regardless of the LevelCount.
Hi Mike,
Row 1 100
5
Row 2 200
7
Summary 12
This is shown in the Grid. My Code for the summary is:
e.Layout.Override.SummaryFooterSpacingAfter = 5 e.Layout.Override.SummaryFooterAppearance.BackColor = Color.Gold e.Layout.Override.SummaryFooterAppearance.BorderColor = Color.Silver e.Layout.Override.SummaryDisplayArea = SummaryDisplayAreas.TopFixed e.Layout.Override.SummaryFooterCaptionVisible = DefaultableBoolean.False Dim _Px_B As SummarySettings Dim _Px_M As SummarySettings For _i = 1 To 6 _Px_B = e.Layout.Bands(0).Summaries.Add(SummaryType.Sum, e.Layout.Bands(0).Columns("CT_BETRAG" & _i.ToString("0"))) _Px_B.Key = "CT_BETRAG" & _i.ToString("0") _Px_B.DisplayFormat = "{0:#,##0.00}" _Px_B.Appearance.BackColor = Color.Gold _Px_B.Appearance.BorderColor = Color.Silver _Px_B.Appearance.TextHAlign = HAlign.Right _Px_B.Appearance.TextVAlign = VAlign.Middle _Px_M = e.Layout.Bands(0).Summaries.Add(SummaryType.Sum, e.Layout.Bands(0).Columns("CT_MENGE" & _i.ToString("0"))) _Px_M.Key = "CT_MENGE" & _i.ToString("0") _Px_M.DisplayFormat = "{0:#,##0.00}" _Px_M.Appearance.BackColor = Color.Gold _Px_M.Appearance.BorderColor = Color.Silver _Px_M.Appearance.TextHAlign = HAlign.Right _Px_M.Appearance.TextVAlign = VAlign.Middle Next
I don't know what's wrong.