# EditorSlotProps

> _Since v0.1.0_

Slot context for #editor slot in TbwGridColumn.

#### Example

```vue
<TbwGridColumn field="name" editable>
  <template #editor="{ value, commit, cancel }">
    <input
      :value="value"
      @blur="commit($event.target.value)"
      @keydown.escape="cancel()"
    />
  </template>
</TbwGridColumn>
```

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `value` | <code>TValue</code> | The current cell value |
| `row` | <code>TRow</code> | The entire row data |
| `column` | <code><a href="/grid/vue/api/types/columnconfig/">ColumnConfig</a>&lt;TRow&gt;</code> | The column configuration |
| `field` | <code>string</code> | Field name being edited |
| `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 edit with new value |
| `cancel` | <code>() =&gt; void</code> | Cancel the edit |
| `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). |
