# focusCellRendererInstance

Moves focus into a mounted cell renderer and returns the result.

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

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

## What does this API do?

Moves focus into a mounted cell renderer and returns the result.

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

## Exact input and result types

```typescript
focusCellRendererInstance(rowId: GridRowId, colId: string, direction: 'in' | 'out'): Promise<boolean>
```

| Arguments | Required | Type |
| --- | --- | --- |
| rowId | Required | GridRowId |
| colId | Required | string |
| direction | Required | 'in' \| 'out' |

The return type is `Promise<boolean>`.

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

## Usage flow

After registering and initializing the Grid element, call grid.focusCellRendererInstance(…). 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)

<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.
