I have set display summary in groupbyrows by using the SummaryDisplayArea property as shown below.
grd.DisplayLayout.Override.SummaryDisplayArea = SummaryDisplayAreas.TopFixed;
grd.DisplayLayout.Override.SummaryDisplayArea |=SummaryDisplayAreas.GroupByRowsFooter;
grd.DisplayLayout.Override.SummaryDisplayArea |= SummaryDisplayAreas.InGroupByRows;
grd.DisplayLayout.Override.GroupBySummaryDisplayStyle =GroupBySummaryDisplayStyle.SummaryCells;
grd.DisplayLayout.Override.SummaryFooterAppearance.BackColor = SystemColors.Info;
grd.DisplayLayout.Override.SummaryValueAppearance.BackColor = SystemColors.Window;
grd.DisplayLayout.Override.SummaryValueAppearance.FontData.Bold =DefaultableBoolean.True;
grd.DisplayLayout.Override.GroupBySummaryValueAppearance.BackColor =SystemColors.Window;
grd.DisplayLayout.Override.GroupBySummaryValueAppearance.TextHAlign = HAlign.Right;
grd.DisplayLayout.Override.SummaryValueAppearance.TextHAlign = HAlign.Right;
grd.DisplayLayout.Override.SummaryFooterCaptionVisible = DefaultableBoolean.False;
Everything works fine except the last column. I am displaying a table that is wider than the grid display window. When I scroll all the way to the right, as you can see below, the columns shift, but the summary cell/text of the last column remains at the same position (half way hidden behind the grid). Everything does show correctly if I don't have to scroll (for example if I adjust resolution). This is a client app so I cannot have them adjust their resolution. Any solutions would be great.
Hi,
I'm afraid I don't understand the issue. What's the problem, exactly? There's nothing obvious wrong in this screen shot as far as I can see. And I do not understand what you mean by "the summary cell/text of the last column remains at the same position (half way hidden behind the grid)"