Back to Devexpress

RichEditSelection.goToDocumentEnd Method

aspnet-js-richeditselection-0d5aa816.md

latest985 B
Original Source

RichEditSelection.goToDocumentEnd Method

Moves the cursor to the end of the active sub-document and allows you to extend the selection.

Declaration

ts
goToDocumentEnd(
    extendSelection?: boolean
): void

Parameters

NameTypeDescription
extendSelectionboolean

true to extend the selection; otherwise, false.

|

Remarks

javascript
// Inserts text at the end of the active sub-document
richEdit.selection.goToDocumentEnd(false);
richEdit.commands.insertText.execute('The end.');

Refer to the following section for more information: Client Selection.

See Also

How to: Common Use Cases

RichEditSelection Class

RichEditSelection Members