cut

RichEditCommands.goToDataRecord Property

Gets a command to open the specified data record.

Declaration

readonly 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.

See Also