BeginUpdate;
The BeginUpdate method disables any table rerendering.
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 EndUpdate method.
Executing the example requires a form with the Button1 button, the TabSheetBox component, and the UiErAnalyzer component named UiErAnalyzer1 that acts as a data source for the TabSheetBox 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: