Hi,
I want to display 'Total' in my summary row. I am using:
SummarySettings summary1 = gdOverView.DisplayLayout.Bands[0].Summaries.Add(SummaryType.Sum, Columname);
summary1.DisplayFormat = "Total {0:0.00}";
I am doing - gdOverView.DisplayLayout.Bands[0].SummaryFooterCaption = " Total";
By setting this, Total is coming in upper row not in the summary row, however I want to display it in the summary row.
Can you please help me out on this.
FYI - the linked article is no longer there.
Hi Mike,
That is a nice write up you referenced. I've sent something like this as a feature request several times over the years but haven't seen any moves to make it better. I can live without it in WinGrid but I sure hope the xaml grid takes this into account building for the future. I'm sure eventually in a few years we will convert over to using the xaml grid.
Thanks for all your good help,
Nick
rosymalhotra said:I have multiple summary values in one summary row and in groupbysummary row, so I can't even do summary1.DisplayFormat = "Total {0:0.00}";
Why can't you do this? Because you only want the text to display in the summaries at the bottom and not in the group by row?
If that's the case, then there is no way to do this using the normal properties of the grid. However, you might want to check out this thread: My Creation and Draw Filters Article - Infragistics Forums which was posted by another developer who wanted to move the SummaryFooterCaption text down onto the regular summary row and did it using a CreationFilter.