This method retrieves a record from the grid by its relative record number. The record data can then be accessed through global fields, a data structure, or a return value object.
- RRN - Numeric value specifying a relative record number
- Data structure (optional) - a Profound.js data structure reference. If specified, the referenced data structure will be populated with the record data. Otherwise, the data is populated into global fields. If the data structure is not qualified, you must wrap the parameter with the pjs.ds() API.
If a record is found, this method returns an object containing the fields in the matched record as properties.