GoToDataRecordCommand.execute(activeRecordIndex) Method
In This Article
Executes the GoToDataRecordCommand command with the specified parameter.
#Declaration
TypeScript
execute(
activeRecordIndex: number
): boolean
#Parameters
Name | Type | Description |
---|---|---|
active |
number | The index of the next data record. |
#Returns
Type | Description |
---|---|
boolean |
|
#Remarks
Usage example:
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