# GridCellClickedDetail

Fields, allowed values, and APIs that use GridCellClickedDetail.

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

<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 GridCellClickedDetail<TData = GridData> {
  row: TData;
  rowIndex: number;
  colIndex: number;
  field: string;
  button?: RowClickButton;
  modifiers?: RowClickModifiers;
  doubleClick?: boolean;
  dragged?: boolean;
}
```

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

## APIs using this type

- [cellClicked](https://grid.syidax.com/docs/events/cellClicked.md) — Emitted on a cell click. Read the row, field, and input context from detail.

<a id="related"></a>

## Related types

- [GridData](https://grid.syidax.com/docs/types/GridData.md)
- [RowClickButton](https://grid.syidax.com/docs/types/RowClickButton.md)
- [RowClickModifiers](https://grid.syidax.com/docs/types/RowClickModifiers.md)
