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
355
Simple summary format problem
posted

Hi,

I'm trying to have my summary row only displaying the value (wihtout 'Sum = ').

I add the SummarySettings in the InitializeLayout like

e.Layout.Bands(0).Summaries.Add(UltraWinGrid.SummaryType.Sum, e.Layout.Bands(0).Columns("SSOLLME"))

and tried:

For Each ss As SummarySettings In e.Layout.Bands(0).Summaries
ss.DisplayFormat = "{0}" 'or "{0:d}
Next

for each SummarySetting. But that didn't change anything in the output, I always get 'Sum = {0}'.

Am I missing something or what am I doing wrong???


Thanks for your help,

KurtJulius

Parents
No Data
Reply
  • 69832
    Verified Answer
    Offline posted

    I was not able to reproduce that behavior; I tried setting the DisplayFormat to "{0}", and it displayed only the number as expected. The only thing I can think of is that it is getting set somewhere else that you aren;t aware of, or maybe you are loading in a layout with a conflicting setting after that.

Children