# GridCellEditingCommittedDetail

Fields, allowed values, and APIs that use GridCellEditingCommittedDetail.

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

<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 GridCellEditingCommittedDetail<TValue = unknown> {
  rowIndex: number;
  sourceRowIndex?: number;
  colIndex: number;
  rowId?: string | number;
  field?: string;
  originalValue: TValue;
  draftValue: TValue;
  dataWritten?: boolean;
  changed?: boolean;
  txId?: number;
  surface?: 'editor' | 'formula-bar';
}
```

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

## APIs using this type

- [cellEditingCommitted](https://grid.syidax.com/docs/events/cellEditingCommitted.md) — Emitted when cell editing is committed. Also inspect cellValueChanged for actual value changes.
