Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
270
Delete Summary from Column
posted

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!

Parents
No Data
Reply
  • 270
    Verified Answer
    Offline posted

    ....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

Children
No Data