Hi,
I am using ultrawebgrid 7.3, at one of my pages i am showing some data with grid and for one column in footer i am showing the total amount.
My problem is that when i type some text in the Filter row this filters the grid rows according to text but it doesnt recalculate the total in footer. This seems to be strange, while seeing the old total with new rows.
I am also showing some summary at page header regarding the grid data i also want to update this how can i do this
Please help me!
Hello,
Sorry for the lengthy time in my response. As long as the you have the AllowRowFiltering Property set to OnServer, the footer total should update as long as it is part of the columns footer total. The code below has this. If you are filtering OnClient, then the value will not update. If you want to do this without a postback, you will have to enable LoadOnDemand in the WebGrid. If you need any more help, please let me know. Depending on how you implement the sorting will depend on how we will update the summary in the page header. We may have to use some javascript to do this.
e.Layout.Bands[0].Columns.FromKey(
"Column_3").Footer.Total = Infragistics.WebUI.UltraWebGrid.SummaryInfo.Sum;
e.Layout.FilterOptionsDefault.AllowRowFiltering = Infragistics.WebUI.UltraWebGrid.
RowFiltering.OnServer;
Huha
I am forced to say that infragistics is not a better choice to be used for web designing. It's to complex and some times behaves just foolish.