IPivot.BeginUpdate

Syntax

BeginUpdate;

Description

The BeginUpdate method disables any table rerendering.

Comments

The method is used on changing a large amount of data, or table parameters, to avoid blinking of visual components that display table data. Rerendering is resumed by the IPivot.EndUpdate method.

Example

Executing the example requires a form with the Button1 button, the TabSheetBox component, and the UiErAnalyzer component named UiErAnalyzer1 that is a data source for the TabSheetBox component.

The example is a handler of the OnClick event for the Button component.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    OLAP: IEaxAnalyzer;
    Pivot: IPivot;
Begin
    OLAP := UiErAnalyzer1.ErAnalyzer;
    Pivot := OLAP.Pivot;
    Pivot.BeginUpdate;
    //...
    //Change table parameters
    //...
    Pivot.EndUpdate;
End Sub Button1OnClick;

Clicking the button disables table rerendering to accelerate process of data table refreshing.

See also:

IPivot