CustomCellType Interface
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 | The createEditor value of CustomCellType. |
Methods
| Method | Description |
|---|---|
| render | 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.
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);
}