Hi,
I am using UltraWebGrid and everything works like a charm so far untill I noticed that the total at the footer is just for that page not for the whole grid. I can easily calculate the total outside the grid and put it into the footer but I am also using filtering so when filter applies the total remain unchanged.
The code that I am using is
for
(int i = 1; i < this.UltraWebGrid1.DisplayLayout.Bands[0].Columns.Count; i++)
{ this.UltraWebGrid1.DisplayLayout.Bands[0].Columns[i].Width = Unit.Pixel(130);
this.UltraWebGrid1.DisplayLayout.Bands[0].Columns[i].Footer.Total = Infragistics.WebUI.UltraWebGrid.SummaryInfo.Sum;
)
My question is how we add totals at the footer while filtering and paging are enabled?
Thanks in advance
I'm using UltraWebCalcManager. But it does not work with paging enable (I'm using LoadOnDemand).
It sum current page only.
Please help with this issue.
Hello,
The WebCalcManager can be used to achieve the desired functionality. The following link shows how to use this to calculate and display the summary in a WebGrid:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html/WebCalcManager_Creating_a_Calculated_Summary_in_WebGrid.html
Hope this helps.
Thanks,
Sarita