Appearance
Home > @liquidrazor/list-display > getRowId
getRowId() function
Extracts the id from a row based on the configured idKey.
Signature:
typescript
getRowId: <TRow = any, TRowId extends RowId = RowId>(row: TRow, idKey: keyof TRow & string) => TRowIdParameters
Parameter | Type | Description |
|---|---|---|
row | TRow | |
idKey | keyof TRow & string |
Returns:
TRowId