# CustomCellEditor Interface

> CustomCellEditor interface in the TX Sheet Control TypeScript API for the browser, with 3 properties and 1 method and a TypeScript example.

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

---

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

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

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [dispose](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/customcelleditor/dispose-property/llms-full.txt) | The dispose value of CustomCellEditor. |
| [element](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/customcelleditor/element-property/llms-full.txt) | The element value of CustomCellEditor. |
| [focus](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/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/browser/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
import type { CustomCellEditor } from '@txtextcontrol/tx-sheet-control';

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

### See Also

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

---

## Nearby

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