# 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 |
| -------- | ---- | ----------- |
| <span id="value"></span>`value` | <code>TValue</code> | The current cell value |
| <span id="row"></span>`row` | <code>TRow</code> | The entire row data |
| <span id="column"></span>`column` | <code><a href="/grid/vue/api/types/columnconfig/">ColumnConfig</a>&lt;TRow&gt;</code> | The column configuration |
| <span id="field"></span>`field` | <code>string</code> | Field name being edited |
| <span id="rowid"></span>`rowId` | <code>string</code> | Stable row identifier (from `getRowId`). Empty string if no `getRowId` is configured. |
| <span id="commit"></span>`commit` | <code>(newValue: TValue) =&gt; void</code> | Commit the edit with new value |
| <span id="cancel"></span>`cancel` | <code>() =&gt; void</code> | Cancel the edit |
| <span id="updaterow"></span>`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'`. |
| <span id="onvaluechange"></span>`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). |
