# getCellRendererInstance

Queries mounted cell renderer instances. Offscreen cells may be unmounted because of virtualization.

Canonical: https://grid.syidax.com/docs/methods/getCellRendererInstance/

<a id="meaning"></a>

## What does this API do?

Queries mounted cell renderer instances. Offscreen cells may be unmounted because of virtualization.

<a id="contract"></a>

## Exact input and result types

```typescript
getCellRendererInstance(rowId: GridRowId, colId: string): Promise<GridRendererDiscovery<GridData, unknown, unknown>>
```

| Arguments | Required | Type |
| --- | --- | --- |
| rowId | Required | GridRowId |
| colId | Required | string |

The return type is `Promise<GridRendererDiscovery<GridData, unknown, unknown>>`.

<a id="usage"></a>

## Usage flow

After registering and initializing the Grid element, call grid.getCellRendererInstance(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

<a id="types"></a>

## Read related types

- [GridRowId](https://grid.syidax.com/docs/types/GridRowId.md)
- [GridRendererDiscovery](https://grid.syidax.com/docs/types/GridRendererDiscovery.md)
- [GridData](https://grid.syidax.com/docs/types/GridData.md)

<a id="recipes"></a>

## Feature explanations and examples

- [Customize cell appearance](https://grid.syidax.com/docs/features/custom-cells.md) — Cell renderers change how data is displayed. Use them for status badges, links, and action buttons while retaining the original values for sorting and filtering.
