Class PivotUpdatingManager
Represents the class that allows the PivotGrid control to automatically respond to the changes happened in the underlying data. To enable this support, EnableUpdating property must be set to true.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.PivotAnalysis
Assembly: Syncfusion.PivotAnalysis.Windows.dll
Syntax
public class PivotUpdatingManager : PivotEngineUpdatingManager, IDisposable
Remarks
In order to automatically respond to the changes happened in the underlying data, PivotGrid's data must be either:
a DataTable or
a DataView or
an IList<T> where T implements both INotifyPropertyChanging and INotifyPropertyChanged interfaces.
Additionally, IList must also implement INotifyCollectionChanged or IBindingList."
Constructors
PivotUpdatingManager(PivotGridControlBase)
Initializes a new instance of the PivotUpdatingManager class with the specified PivotGridControlBase.
Declaration
public PivotUpdatingManager(PivotGridControlBase grid)
Parameters
| Type | Name | Description |
|---|---|---|
| PivotGridControlBase | grid | The instance of the PivotGridControlBase class. |
Properties
ThrottleUpdateRate
Gets or sets a millisecond value for time between UI refreshes. Zero indicates immediate refreshes of the UI without delays. Throttling the refresh rate can minimize CPU usage. The default value is zero, but depending upon your updating rate, values of 300 to 500 msecs may give lower CPU usage.
Declaration
public int ThrottleUpdateRate { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Methods
CheckUpdateCell(Int32, Int32)
CheckUpdateCell method used to refresh the cell.
Declaration
protected override void CheckUpdateCell(int row, int col)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | row | The row index of the cell. |
| System.Int32 | col | The column index of the cell. |
Overrides
Dispose(Boolean)
Unsubscribe to certain events that were subscribed to when this object was created.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | true, if managed resources should be disposed; otherwise, false. |
Overrides
PopulateEngine()
Populates the engine values based on the current dataSource values and refreshes the PivotGrid control.
Declaration
protected override void PopulateEngine()