# GridCellComment

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

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

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

## 타입 정의

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

```typescript
export interface GridCellComment {
  id: string;
  text: string;
  author?: string;
  authorColor?: string;
  ts: number;
  resolved?: boolean;
  parentId?: string;
}
```

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

## 이 타입을 사용하는 API

- [getCellComments](https://grid.syidax.com/ko/docs/methods/getCellComments.md) — 행 ID와 필드에 연결된 협업 댓글 목록을 읽습니다.
- [cellCommentsChanged](https://grid.syidax.com/ko/docs/events/cellCommentsChanged.md) — 셀의 협업 댓글 목록이 바뀌었을 때 발생합니다. 행 ID·필드·최신 댓글 목록을 읽습니다.
- [commentMentioned](https://grid.syidax.com/ko/docs/events/commentMentioned.md) — 협업 댓글에서 멘션이 발생했을 때 알립니다. 대상 셀과 댓글로 앱 알림을 연결합니다.

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

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

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