EndUpdate;
The EndUpdate method resumes table rerendering.
After calling the method, all the changes that were made in the table in between calling the BeginUpdate and the EndUpdate methods, are also applied.
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 TabSheetBox.
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 table refreshing.
See also: