Interface IAdjustable
Use this interface to enable shortcut calculations to adjust a summary when an underlying value changes. The idea is to avoid re-computing the summary from scratch. For example, if your summary computes the total of a set of values, you can quickly adjust this computed total when a value changes by subtracting the old value and adding the new value without having to re-compute the total from scratch. Not all types of calculations lend themselves to this shortcut behavior.
Namespace: Syncfusion.PivotAnalysis.Base
Assembly: Syncfusion.PivotAnalysis.Base.dll
Syntax
public interface IAdjustable
Methods
AdjustForNewContribution(Object)
Adjusts the summary for a change in one of its underlying values.
Declaration
void AdjustForNewContribution(object newContribution)
Parameters
Type | Name | Description |
---|---|---|
System.Object | newContribution | The new value of the changed field. |
AdjustForOldContribution(Object)
Adjusts the summary for a change in one of its underlying values.
Declaration
void AdjustForOldContribution(object oldContribution)
Parameters
Type | Name | Description |
---|---|---|
System.Object | oldContribution | The old value of the changed field. |