Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3555
Group By summary not showing values in cell when I have to scroll - last column only.
posted


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;

           grd.DisplayLayout.Override.SummaryValueAppearance.FontData.Bold =DefaultableBoolean.True;

 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.