# GridEditorContext

> _Since v0.0.1_

Context object passed to cell editor components.

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `value` | <code>TValue</code> | The cell value for this column |
| `row` | <code>TRow</code> | The full row data object |
| `column` | <code><a href="/grid/react/api/types/columnconfig/">ColumnConfig</a>&lt;TRow&gt;</code> | The column configuration |
| `field` | <code>keyof TRow &amp; string</code> | Field key |
| `rowId` | <code>string</code> | Stable row identifier (from `getRowId`). Empty string if no `getRowId` is configured. |
| `commit` | <code>(newValue: TValue) =&gt; void</code> | Commit the new value and close editor |
| `cancel` | <code>() =&gt; void</code> | Cancel editing without saving |
| `updateRow` | <code>(changes: Partial&lt;TRow&gt;) =&gt; void</code> | Update other fields in this row while the editor is open. Changes trigger `cell-change` events with source `'cascade'`. |
| `onValueChange?` | <code>(callback: (newValue: TValue) =&gt; void) =&gt; void</code> | Register a callback to receive value updates when the cell is modified externally (e.g., via `updateRow()` from another cell's commit). |
