# GridRendererParams

GridRendererParams의 필드와 허용 값, 이 타입을 사용하는 API입니다.

Canonical: https://grid.syidax.com/ko/docs/types/GridRendererParams/

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

## 타입 정의

물음표(?)는 선택 항목이고 readonly는 직접 변경하지 않는 값입니다. 유니온(|)은 허용된 형태 중 하나를 뜻합니다. 함수는 해당 시점에 Grid가 호출할 콜백입니다.

```typescript
export interface GridRendererParams<
  TRow = Record<string, unknown>,
  TValue = unknown,
  TContext = unknown,
> extends CellRendererInput<TRow, TValue>,
    GridComponentParams<TContext> {
  readonly valueFormatted?: string;
  readonly cellElement?: HTMLElement;
  readonly setTooltip: (value: string | null) => void;
  readonly handoffFocus: (target: GridFocusHandoff) => void;
}
```

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

## 이 타입을 포함하는 계약

- [GridRendererDefinition](https://grid.syidax.com/ko/docs/types/GridRendererDefinition.md)
- [GridRendererDiscovery](https://grid.syidax.com/ko/docs/types/GridRendererDiscovery.md)
- [GridRendererInstance](https://grid.syidax.com/ko/docs/types/GridRendererInstance.md)

<a id="related"></a>

## 연결된 타입

- [CellRendererInput](https://grid.syidax.com/ko/docs/types/CellRendererInput.md)
- [GridComponentParams](https://grid.syidax.com/ko/docs/types/GridComponentParams.md)
- [GridFocusHandoff](https://grid.syidax.com/ko/docs/types/GridFocusHandoff.md)
