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
Hi Kurt,
Maybe your application is loading a layout into the grid (grid.DisplayLayout.LoadXXX) and the loaded layout settings are overwriting what you are setting in code.
thanks for the quick answer. I will check the code again as good as I can, perhaps I find something.
Regards,
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.