Skip to Content
APIGrid CoreassignPrimaryColumnKey

assignPrimaryColumnKey function

Resolves the PrimaryColumnKey for the supplied GridRows. When an id column is already unique it is reused; otherwise, the method mutates plainRows to append FALLBACK_PRIMARY_COLUMN_KEY identifiers.

Tip

This API reference is automatically generated from the source code  of the @jsoc/grid-core  package.

Signature

Parameters:
NameTypeDefault
plainRowsGridRows
Returns:
string