# CellRenderOutput

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

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

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

## 타입 정의

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

```typescript
export type CellRenderOutput =
  | {
      kind: 'text';
      text: string;
      class?: string;
      title?: string;
    }
  | {
      kind: 'html';
      html: string;
      class?: string;
      title?: string;
    }
  | {
      kind: 'vnode';
      vnode: unknown;
      class?: string;
      title?: string;
    };
```

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

## 이 타입을 사용하는 API

- [detailCellRenderer](https://grid.syidax.com/ko/docs/options/detailCellRenderer.md) — 상세 패널의 내용을 text·html·vnode 계약으로 만듭니다. 선언형 하위 Grid보다 우선합니다.

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

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

- [CellRenderer](https://grid.syidax.com/ko/docs/types/CellRenderer.md)
- [GridRendererGui](https://grid.syidax.com/ko/docs/types/GridRendererGui.md)
