TdxSpreadSheetTableItemGroup.EndUpdate Method
Enables updates of the current table item group and all groups nested within it.
Declaration
procedure EndUpdate;
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 only the current table item group and all groups nested within it, there are BeginUpdate and EndUpdate procedures that affect the entire table item group hierarchy.