key property
The key value for the record currently displayed by the cursor.
This property is read-only.
![]() |
Syntax
| JavaScript |
|---|
key = object.key |
Property values
Type: any
A value as described in the following Remarks section or "undefined" if the cursor is iterating to a new record or if the current record is outside the cursor range.
Standards information
Remarks
The value of the key property depends on the source of the cursor.
| Cursor Source | Value |
|---|---|
| index | The attribute associated with the index. |
| object store | The value of the record's primary key. |
See also
Show:
