# GridCellComment

Fields, allowed values, and APIs that use GridCellComment.

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

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

## Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

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

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

## APIs using this type

- [getCellComments](https://grid.syidax.com/docs/methods/getCellComments.md) — Reads collaboration comments associated with a row ID and field.
- [cellCommentsChanged](https://grid.syidax.com/docs/events/cellCommentsChanged.md) — Emitted when cell collaboration comments change. Read the row ID, field, and latest comments.
- [commentMentioned](https://grid.syidax.com/docs/events/commentMentioned.md) — Reports a mention in collaboration comments. Connect app notifications using the target cell and comment.

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

## Contracts containing this type

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