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
630
Get summary value from a grid
posted

Good afternoon,

I create some summary with this code:

column = e.Layout.Bands[2].Columns["ColumnName"];

column.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Currency;

ss = column.Band.Summaries.Add(SummaryType.Sum, column);

ss.DisplayFormat = "{0:N2}";

How can I read the value of that Summary?

I tried to reach it with:

gridName.DisplayLayout.Bands[2].Summaries["ColumnName"]

But there's no "value" or "text" property that I can read.

Thanks in advance

Parents Reply Children