API REFERENCE

formulaBar

Shows a formula bar for inspecting and editing the active cell's source value or formula. Enter commits; Escape cancels.

What does this API do?

Shows a formula bar for inspecting and editing the active cell's source value or formula. Enter commits; Escape cancels.

API for Pro features: Built-in formulas, references, dependency recalculation and calculated columns

Exact input and result types

typescript
formulaBar: boolean
ItemValue
JavaScript nameformulaBar
HTML attributeformula-bar
Defaultfalse
Input typeboolean

Usage flow

Set this on a property of the Grid element. In HTML, you can also use the formula-bar attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

Feature explanations and examples