TX Sheet Control

FormulaProvider Type

Interface

Public type for FormulaProvider.

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

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

Syntax

type FormulaProvider = (request: FormulaRequest) => FormulaResult | undefined;

Examples

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

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

function inspectFormulaProvider(formulaProvider: FormulaProvider) {
    const value = formulaProvider;
    console.log('FormulaProvider.value', value);
}

See Also