BeginUpdate([Flags: TabUpdateFlags = 0]);
Flags. Table update mode.
The BeginUpdate method disables some of the table functions to reduce the time required to update and process table data.
After this method is called, the events will occur as follows:
When a cell value is changed for the first time, the OnBeforeCellsChange event occurs just once.
When a selected cell or selected cell range is edited for the first time, the OnBeginSelectionChange event occurs just once.
On further changing of the values, the events related to modification of values in particular cells occur (OnBeforeCellChange, OnCellChange, OnChangeCellContent). Events related to modification of the selected cell range will not occur. When changes are made in a table, they are registered in the undo/redo stack, which spends additional system resources. The Flags parameter can be used to disable creation of this stack.
After the EndUpdate method is called, the OnCellsChange, OnSelectionChange and OnEndSelectionChange events occur once.
See also: