# CustomCellType Interface

> CustomCellType interface in the TX Sheet Control TypeScript API for Node.js: Editor callbacks are browser-only. 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 > CustomCellType Interface
- **403 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelltype/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelltype/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelltype/llms-full.txt

---

Editor callbacks are browser-only; the same SVG renderer is used by the editor and independent PDF pipeline.

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 |
|---|---|
| [createEditor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelltype/createeditor-property/llms-full.txt) | The createEditor value of CustomCellType. |

#### Methods

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

### Examples

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

```typescript
import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';

function inspectCustomCellTypeCreateEditor(
    customCellType: Parameters<ServerSheetControl['workbook']['cellTypes']['register']>[1],
) {
    const value = customCellType['createEditor'];
    console.log('CustomCellType.createEditor', value);
}
```

### See Also

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

---

## In This Section

- [CustomCellType.createEditor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelltype/createeditor-property/llms-full.txt): CustomCellType.createEditor property in the TX Sheet Control TypeScript API for Node.js, with its syntax and a TypeScript example.
- [CustomCellType.render Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelltype/render-method/llms-full.txt): CustomCellType.render method in the TX Sheet Control TypeScript API for Node.js, with the return type string and a TypeScript example.

---

## Nearby

- **Previous:** [CustomCellEditor.getValue Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelleditor/getvalue-method/llms-full.txt)
- **Next:** [CustomCellType.createEditor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customcelltype/createeditor-property/llms-full.txt)
