Skip to content
Sheetwrite

@sheetwrite/core/testing

openFormulaEditfunction

Report a problem

On this page

The formula edit the formula bar opens for cell of store, with the store's function list already loaded: what a FormulaSuggester gets in open. Runs a suggester without a grid, in tests and benchmarks. Without a formula bar, its refresh does nothing.

Declaration

function openFormulaEdit(
store: Store,
cell: CellAddress,
): Promise<FormulaEdit>

Parameters

store: Storerequired

Columnar workbook storage, query, transaction, and subscription contract.

cell: CellAddressrequired

Zero-based address of one cell on a stable sheet ID.

Returns

Promise<FormulaEdit>

The edit, to pass to FormulaSuggester.open.