API REFERENCE
getRowId
Returns a stable, unique row ID. The same business row must retain its ID after sorting, filtering, and editing.
What does this API do?
Returns a stable, unique row ID. The same business row must retain its ID after sorting, filtering, and editing.
Exact input and result types
getRowId: (row: Readonly<GridData>) => GridRowId| Item | Value |
|---|---|
| JavaScript name | getRowId |
| HTML attribute | get-row-id |
| Default | undefined |
| Input type | (row: Readonly<GridData>) => GridRowId |
Usage flow
Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Read related types
Feature explanations and examples
- Row selection
Row selection chooses targets for bulk actions such as approval, export, or assignment. Unlike cell range selection, it selects an entire order.