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
1147
Accessing Footer value in ultrawebgrid
posted

hi,

 I hv added a column runtime in webgrid and i want to access the value of footer element ,,any help.

this is the code by which i have added a column.

infragrid_keys.DisplayLayout.Bands[0].Columns.Add("Total", "Total");

Infragistics.WebUI.UltraWebGrid.UltraGridColumn c = infragrid_keys.Columns.FromKey("Total");

c.DataType = "System.Double";

c.Width = Unit.Pixel(150);

c.CellStyle.HorizontalAlign = HorizontalAlign.Right;

Infragistics.WebUI.UltraWebGrid.ColumnFooter cf = c.Footer;

cf.Style.HorizontalAlign = HorizontalAlign.Left;

cf.Key = "FinalTot";

cf.Caption = "Total=";

cf.Total = Infragistics.WebUI.UltraWebGrid.SummaryInfo.Sum;

cf.Formula = "SUM([Total])";

thanks,

Parents
No Data
Reply Children
No Data