Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Grid Row Javascript API > Methods

Grid Row Javascript API: row.getKeys()

Scroll Prev Next More

 

Returns an array of key field values of the record.

Syntax

row.getKeys()

Arguments

No arguments.

Return value

Returns an array of key field values of the record.

Example

console.log( row.getKeys() )

Output

[1]
 
//or
 
[3, 'Beverages']

See also

Key columns

JavaScript API: getSelectedRecordKeys()

Buttons: rowData object

Grid Row JavaScript API: row.recordId()

About Grid Row JavaScript API