I'm using an UltraWinCalcmanager with my grid so enable me to calculate a few extra summaries for all of the columns.
I'm adding a summat like this:
ugDisplay.DisplayLayout.Bands(0).Summaries.Add("STDDEV", "STDEV([" + AvailableColumn.Key + "])", SummaryPosition.UseSummaryPositionColumn, AvailableColumn)
But on my grid, the new summary value just gets labelled "Summary"... as I add more summaries in they all get labbeled with the same thing. How do I go about defining the summary label?
TIA
If I didn't make it clear, I have now attached an image showing exactly what text I am trying to change on my grid. Below it shows the label "Summary" but this is actually showing the standard deviation so I'd like to chage it to "Std Dev" or something similar.
Thanks
The Summaries.Add method returns a SummarySettings object. On this object is a property called DisplayFormat which controls the formatting of the summary. By default, the format resolves to something like this: "Summary = {0}". The "{0}" is a replacement code for the Value. So if you can change the format to say whatever you like, such as ""STDDEV = {0}".
Excellent, thanks.