It's not clear to me what you mean but "Footer". Are you talking about printing the grid? Or are you talking about Summaries? It sounds like you mean Summaries. If that's the case, then you could try something like this:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Bands[0].Override.SummaryFooterCaptionVisible = DefaultableBoolean.False; e.Layout.Bands[0].Override.SummaryFooterAppearance.BorderAlpha = Alpha.Transparent; e.Layout.Bands[0].Override.SummaryFooterAppearance.BackColor = Color.Red; UltraGridColumn myColumn = e.Layout.Bands[0].Columns["Int32 1"]; SummarySettings mySummary = e.Layout.Bands[0].Summaries.Add("My Summary", SummaryType.Sum, myColumn); mySummary.Appearance.BorderAlpha = Alpha.Transparent; e.Layout.Override.BorderStyleCell = UIElementBorderStyle.None; e.Layout.Override.BorderStyleRow = UIElementBorderStyle.None; e.Layout.Override.CellClickAction = CellClickAction.RowSelect; e.Layout.Override.HeaderClickAction = HeaderClickAction.SortMulti; }
Thanks.
I was talking about summaries and your sample helped a lot.
The one thing that was not addressed was how to have summaries only at the bottom of the outlook groups with no "grand total" summary row either fixed at the bottom or floating at the bottom of the last group.
Dana
Hi Dana,
I'm not sure if that's possible, but if it is, it would be via the SummaryDisplayArea property.