How to force all summaries to recaculate in a WinGrid when a cell value changed?
If a value of a cell in the grid changes and it affects a summary, then the summary is automatically updated. You should not need to do anything.
However, there is a Refresh method on the SummarySettings which will force a recalculation.
How we call SummarySetting Refresh in vb.net for this force recalculation. I am deleting an ultragrid row which is having scroll and its summary which I have taken in to variable is not getting updated till I mannually scroll down to summary portion.
There are a lot of factors at work here. If you are using CalcManager formulas then the summaries are not refreshed when they are off-screen. This is to optimize performance. So in such a case, you would have to force the calculations to complete, which is not a trivial operation and it would have to happen synchronously, which might cause your UI to lock up for a bit. You also can't control the order in which calculations are performed, so if there are other pending calculations, there's no telling which ones will get calculated first. To force the calculations, I think you would have to set CalcManager.CalcFrequency to manual, then call CalcManager.ReCalc. And then you would probably need to set CalcFrequency back to what it was. A simpler solution might be to simply ensure that your summaries are always visible, like using Fixed summaries at the top of bottom of the grid.