Vue 3 Data GridFormulas integration in Vue 3
Integrate the Formulas plugin with your Vue 3 data grid.
On this page
Overview
You can use the Formulas plugin to perform Excel-like calculations in your business applications. It does it by an integration with our other product, HyperFormula (opens new window), which is a powerful calculation engine with an extensive number of features.
Find out more about the Formulas plugin
Example - Using the Formulas plugin
When using HyperFormula with Vue 3, never let Vue make the HyperFormula instance reactive. Vue's proxying interferes with the internal state of the engine and leads to subtle bugs and performance issues.
Wrap the instance with markRaw():
import { markRaw } from 'vue';
import { HyperFormula } from 'hyperformula';
const hfInstance = markRaw(HyperFormula.buildEmpty());
This keeps the engine untouched and ensures it behaves exactly as intended.
Related articles
Related guides
Related API reference
- Configuration options:
- Core methods:
- Hooks:
- Plugins: