Skip to main content
cut

RichEditCommands.goToDataRecord Property

Gets a command to open the specified data record.

Declaration

get goToDataRecord(): GoToDataRecordCommand

Property Value

Type Description
GoToDataRecordCommand

An object that provides methods that execute the command and check its state.

Remarks

Call the execute(activeRecordIndex) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

richEdit.commands.goToDataRecord.execute(3);

Use the GoToDataRecordCommand.getState method to get the DataRecordOptions object containing the total number of records and the index of the active record.

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

See Also