Skip to main content
cut

RichEditCommands.beginUpdate Method

Gets a command to prevent the control UI from being updated until the RichEditCommands.endUpdate method is called.

Declaration

beginUpdate(): void

Remarks

The Rich Edit allows a sequence of operations that affect a document or the control to be performed without having the control render itself after each modification. To do this, the code performing sequential changes to the rich edit must be enclosed within calls to the beginUpdate and endUpdate methods. This improves performance and avoids unnecessary render operations.

Refer to the following section for more information: How to Process a Batch of Commands without Intermediate Updates.

See Also