# CellActivateDetail

> _Since v1.0.0_

Fired when a cell is activated by user interaction (Enter key or click).
Unified event for both keyboard and pointer activation.

#### Example

```typescript
grid.on('cell-activate', ({ row, field, value, trigger, cellEl }, event) => {
  if (trigger === 'keyboard') {
    console.log('Activated via Enter key');
  } else {
    console.log('Activated via click/tap');
  }

  // Start custom editing for specific columns
  if (field === 'notes') {
    event.preventDefault(); // Prevent default editing
    openNotesEditor(row, cellEl);
  }
});
```

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `rowIndex` | <code>number</code> | Zero-based row index of the activated cell. |
| `colIndex` | <code>number</code> | Zero-based column index of the activated cell. |
| `field` | <code>string</code> | Field name of the activated column. |
| `value` | <code>unknown</code> | Cell value at the activated position. |
| `row` | <code>TRow</code> | Full row data object. |
| `cellEl` | <code>HTMLElement</code> | The activated cell element. |
| `trigger` | <code><a href="/grid/api/core/types/cellactivatetrigger/">CellActivateTrigger</a></code> | What triggered the activation. |
| `originalEvent` | <code>PointerEvent &#124; MouseEvent &#124; KeyboardEvent</code> | The original event (KeyboardEvent for keyboard, MouseEvent/PointerEvent for pointer). |

## See Also

- [`CellClickDetail`](/grid/api/core/interfaces/cellclickdetail.md) for click-only events
- [`CellActivateTrigger`](/grid/api/core/types/cellactivatetrigger.md) for trigger types
