Hi,
We make use of the summary rows in the XamWebGrid but we are facing a problem now. When a value is changed after editing, the summary doesn't reexecute, even though our object implements INotifyPropertyChanged. I've checked your source code and it looks like the summary is only updated after sorting, paging, grouping and filtering. Are there any plans to add the functionality (checking for INotifyPropertyChanged)?
We could of course monitor the object ourselves, but there is no way to reexecute the summary calculation per column. How can we execute the recalculation of the summaries per column programmatically?
Thanks,
Arjen
Hi Arjen,
You can call grid.InvalidateData() method after exiting edit mode. This will update the summary values.
Hope that helps,
Why does it fire all the bindings in the Grid. Is there any way to just force the recalculation without any side effects
That post was from a while ago.
Since then we added a method that you can invoke to specifically update Summaries.
You just need a reference to a Row: grid1.Rows[0].Manager.RefreshSummaries();
-SteveZ