Version

SuspendSummaryUpdates Method

Suspends updating of summaries. Whenever UltraGrid receives notification indicating a row has changed, UltraGrid marks summaries for recalculation. Calling this method will prevent UltraGrid from marking summaries for recalculation whenever row changed notification is received. You must call ResumeSummaryUpdates to resume the default behavior of marking summaries for recalculation.
Syntax
'Declaration
 
Public Sub SuspendSummaryUpdates() 
public void SuspendSummaryUpdates()
Remarks

SuspendSummaryUpdates and ResumeSummaryUpdates methods can be used to temporarily prevent the UltraGrid from responding to cell change notifications and marking the summaries dirty. Summaries are re-calculated lazily however this method is useful when you are modifying a lots of cells and for efficiency reaons what to prevent UltraGrid from responding to every cell change notification. In that case you can call SuspendSummaryUpdates and change the cell values and call ResumeSummaryUpdates. ResumeSummaryUpdates method takes in recalculateSummaries parameter that you can use to specify whether the UltraGrid should recalculate all the summaries or not. You would specify that parameter as false if you know that none of the changes you made would affect the summaries. Otherwise you would specifiy that parameter as true.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UltraGridBase Class
UltraGridBase Members
ResumeSummaryUpdates Method
SummaryUpdatesSuspended Property
Infragistics.Win.UltraControlBase.BeginUpdate
Infragistics.Win.UltraControlBase.EndUpdate(System.Boolean)