# commentMentioned

Reports a mention in collaboration comments. Connect app notifications using the target cell and comment.

Canonical: https://grid.syidax.com/docs/events/commentMentioned/

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

## What does this API do?

Reports a mention in collaboration comments. Connect app notifications using the target cell and comment.

API for Pro features: Cell notes editing

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

## Exact input and result types

```typescript
commentMentioned: { rowId: string; field: string; comment: GridCellComment }
```

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

## Usage flow

Subscribe with grid.addEventListener('commentMentioned', handler). The result is in event.detail, and event names are case-sensitive. Remove subscriptions when disposing of the view.

```javascript
const controller = new AbortController();
grid.addEventListener('commentMentioned', event => {
  console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();
```

<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.
