# getCellComments

Reads collaboration comments associated with a row ID and field.

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

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

## What does this API do?

Reads collaboration comments associated with a row ID and field.

API for Pro features: Cell notes editing

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

## Exact input and result types

```typescript
getCellComments(rowId: string | number, field: string): Promise<GridCellComment[]>
```

| Arguments | Required | Type |
| --- | --- | --- |
| rowId | Required | string \| number |
| field | Required | string |

The return type is `Promise<GridCellComment[]>`.

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

## Usage flow

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

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

<a id="recipes"></a>

## Feature explanations and examples

- [Cell notes](https://grid.syidax.com/docs/features/cell-notes.md) — Cell notes add review context or explanations without changing the value. Standalone notes and collaboration comment threads use different storage and APIs, so choose the appropriate workflow first.
