# CustomCellEditor Interface

> CustomCellEditor interface in the TX Sheet Control TypeScript API for Node.js: Browser custom editor lifecycle. Includes the syntax and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > CustomCellEditor Interface
- **409 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/llms-full.txt

---

Browser custom editor lifecycle. The shared workbook remains the authority for committed values.

Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Members

#### Properties

| Property | Description |
|---|---|
| [dispose](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/dispose-property/llms-full.txt) | The dispose value of CustomCellEditor. |
| [element](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/element-property/llms-full.txt) | The element value of CustomCellEditor. |
| [focus](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/focus-property/llms-full.txt) | The focus value of CustomCellEditor. |

#### Methods

| Method | Description |
|---|---|
| [getValue](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/getvalue-method/llms-full.txt) | The getValue operation of CustomCellEditor. |

### Examples

Pass the CustomCellEditor value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
function inspectCustomCellEditorElement(customCellEditor: { element: unknown }) {
    const value = customCellEditor['element'];
    console.log('CustomCellEditor.element', value);
}
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## In This Section

- [CustomCellEditor.dispose Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/dispose-property/llms-full.txt): CustomCellEditor.dispose property in the TX Sheet Control TypeScript API for Node.js, with its type (() => void) | undefined and a TypeScript example.
- [CustomCellEditor.element Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/element-property/llms-full.txt): CustomCellEditor.element property in the TX Sheet Control TypeScript API for Node.js, with its type HTMLElement and a TypeScript example.
- [CustomCellEditor.focus Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/focus-property/llms-full.txt): CustomCellEditor.focus property in the TX Sheet Control TypeScript API for Node.js, with its type (() => void) | undefined and a TypeScript example.
- [CustomCellEditor.getValue Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/getvalue-method/llms-full.txt): CustomCellEditor.getValue method in the TX Sheet Control TypeScript API for Node.js, with the return type CellValue and a TypeScript example.

---

## Nearby

- **Previous:** [CsvSaveOptions.sheetName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/csvsaveoptions/sheetname-property/llms-full.txt)
- **Next:** [CustomCellEditor.dispose Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/dispose-property/llms-full.txt)
