Skip to main content

TdxSpreadSheetTableItemGroups.BeginUpdate Method

Disables refreshing of all table item groups in the current group hierarchy.

Declaration

procedure BeginUpdate;

Remarks

The BeginUpdate and EndUpdate procedures are used collectively to improve the performance of spreadsheet-based applications when numerous manipulations with the table item groups are performed. To postpone repainting of table item groups, enclose the code that creates, destroys and/or modifies groups within the BeginUpdate/EndUpdate procedure blocks.

The BeginUpdate procedure postpones updates. To apply the changes made, invoke the EndUpdate procedure. Ensure that every call to BeginUpdate has a corresponding call to the EndUpdate procedure, even if an exception occurs.

Note

In addition to the BeginUpdate and EndUpdate procedures that affect the entire tree of table item groups, individual table item groups provide their own BeginUpdate and EndUpdate procedures.

See Also