TX Sheet Control

CustomFunctionContext Interface

Interface

Registration context available to every custom calculation function.

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

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

Members

Properties

PropertyDescription
addressThe address value of CustomFunctionContext.
sheetIdThe sheetId value of CustomFunctionContext.
signalThe signal value of CustomFunctionContext.

Examples

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

import type { CustomFunctionContext } from '@txtextcontrol/tx-sheet-control';

function inspectCustomFunctionContextSheetId(customFunctionContext: CustomFunctionContext) {
    const value = customFunctionContext['sheetId'];
    console.log('CustomFunctionContext.sheetId', value);
}

See Also