Hey folks,
I was adding a summary by code to an existing column in my ultraGrid:
tmpBand.Summaries.Add(myKeyName,Infragistics.Win.UltraWinGrid.SummaryType.Sum, tmpBand.Columns["colName"]);
Now I was wondering how I can delete the summary from my grid. I've already tried the dispose the summary with tmpBand.Summaries[myKeyName].Dispose(); .... but it doesn't works.
I would be glad about any help, Thanks!
....soo
I've tried something out and I got it!
Infragistics.Win.UltraWinGrid.SummarySettings tmpSettings = tmpBand.Summaries["colName"];tmpBand.Summaries.Remove(tmpSettings);
So remove the summary about the SummarySettings ascertained by the column-name.
Greetings
Hello, Did you try simply to call the Clear or Remove methods of the Band in order to clear / Remove summary.tmpBand.Summaries.Clear() or tmpBand.Summaries.Remove ()I hope this helps.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.