# GridRowId

Fields, allowed values, and APIs that use GridRowId.

Canonical: https://grid.syidax.com/docs/types/GridRowId/

<a id="definition"></a>

## Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

```typescript
export type GridRowId = string | number;
```

<a id="used-by"></a>

## APIs using this type

- [getRowId](https://grid.syidax.com/docs/options/getRowId.md) — Returns a stable, unique row ID. The same business row must retain its ID after sorting, filtering, and editing.
- [getRow](https://grid.syidax.com/docs/methods/getRow.md) — Finds a row object by stable row ID, rather than display index.
- [stageBatchCell](https://grid.syidax.com/docs/methods/stageBatchCell.md) — Stages a batch value by row and column ID. Does not immediately persist final data.
- [startRowEdit](https://grid.syidax.com/docs/methods/startRowEdit.md) — Starts full-row editing for a row ID.
- [getCellRendererInstance](https://grid.syidax.com/docs/methods/getCellRendererInstance.md) — Queries mounted cell renderer instances. Offscreen cells may be unmounted because of virtualization.
- [destroyCellRendererInstance](https://grid.syidax.com/docs/methods/destroyCellRendererInstance.md) — Destroys a specified mounted cell renderer instance.
- [focusCellRendererInstance](https://grid.syidax.com/docs/methods/focusCellRendererInstance.md) — Moves focus into a mounted cell renderer and returns the result.

<a id="parents"></a>

## Contracts containing this type

- [GridGetRowId](https://grid.syidax.com/docs/types/GridGetRowId.md)
- [GridLiveObjectEvent](https://grid.syidax.com/docs/types/GridLiveObjectEvent.md)
- [GridLiveRef](https://grid.syidax.com/docs/types/GridLiveRef.md)
- [GridRowRef](https://grid.syidax.com/docs/types/GridRowRef.md)
- [SyGridBatchCommitReport](https://grid.syidax.com/docs/types/SyGridBatchCommitReport.md)
- [SyGridCellValueChangedEventDetail](https://grid.syidax.com/docs/types/SyGridCellValueChangedEventDetail.md)
- [SyGridEditRejectedCell](https://grid.syidax.com/docs/types/SyGridEditRejectedCell.md)
- [SyGridEventMap](https://grid.syidax.com/docs/types/SyGridEventMap.md)
- [SyGridFillRangeReport](https://grid.syidax.com/docs/types/SyGridFillRangeReport.md)
- [SyGridFullWidthLayoutReport](https://grid.syidax.com/docs/types/SyGridFullWidthLayoutReport.md)
- [SyGridFullWidthRenderParams](https://grid.syidax.com/docs/types/SyGridFullWidthRenderParams.md)
- [SyGridFullWidthRowInfo](https://grid.syidax.com/docs/types/SyGridFullWidthRowInfo.md)
- [SyGridImperativeMethods](https://grid.syidax.com/docs/types/SyGridImperativeMethods.md)
- [SyGridPendingBatchCell](https://grid.syidax.com/docs/types/SyGridPendingBatchCell.md)
- [SyGridPinnedRow](https://grid.syidax.com/docs/types/SyGridPinnedRow.md)
- [SyGridPinnedRowChange](https://grid.syidax.com/docs/types/SyGridPinnedRowChange.md)
- [SyGridPinnedRowInput](https://grid.syidax.com/docs/types/SyGridPinnedRowInput.md)
- [SyGridPinnedRowRejection](https://grid.syidax.com/docs/types/SyGridPinnedRowRejection.md)
- [SyGridPinnedRowsChangedDetail](https://grid.syidax.com/docs/types/SyGridPinnedRowsChangedDetail.md)
- [SyGridPinnedRowsReport](https://grid.syidax.com/docs/types/SyGridPinnedRowsReport.md)
- [SyGridPinnedRowsResult](https://grid.syidax.com/docs/types/SyGridPinnedRowsResult.md)
- [SyGridRowDragStartInput](https://grid.syidax.com/docs/types/SyGridRowDragStartInput.md)
- [SyGridRowEditReport](https://grid.syidax.com/docs/types/SyGridRowEditReport.md)
- [SyGridRowEditStartEventDetail](https://grid.syidax.com/docs/types/SyGridRowEditStartEventDetail.md)
- [SyGridRowEditStopEventDetail](https://grid.syidax.com/docs/types/SyGridRowEditStopEventDetail.md)
- [SyGridRowValueChangedEventDetail](https://grid.syidax.com/docs/types/SyGridRowValueChangedEventDetail.md)
- [SyGridSelectionChangedEventDetail](https://grid.syidax.com/docs/types/SyGridSelectionChangedEventDetail.md)
