# GridEditorContext

> _Since v0.1.0_

Context object passed to the cell editor template.
Contains the cell value, row data, column configuration, and commit/cancel functions.

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `$implicit` | <code>TValue</code> | The cell value for this column |
| `value` | <code>TValue</code> | The cell value (explicit binding) |
| `row` | <code>TRow</code> | The full row data object |
| `field` | <code>string</code> | Field name being edited |
| `column` | <code>unknown</code> | The column configuration |
| `rowId` | <code>string</code> | Stable row identifier (from `getRowId`). Empty string if no `getRowId` is configured. |
| `onCommit` | <code>(value: TValue) =&gt; void</code> | Callback function to commit the edited value. Use with Angular event binding: `(commit)="onCommit($event)"` |
| `onCancel` | <code>() =&gt; void</code> | Callback function to cancel editing. Use with Angular event binding: `(cancel)="onCancel()"` |
| `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). |
| `control?` | <code>AbstractControl&lt;any, any, any&gt;</code> | The FormControl for this cell, if the grid is bound to a FormArray with FormGroups. |
