Modules
Spreadsheet 2 comes with various modules to help you compose the spreadsheet that you like.
Last updated
Spreadsheet 2 comes with various modules to help you compose the spreadsheet that you like.
Calculator contains tools to parse formula strings and evaluate them. We use a custom version of fast-formula-parser.
yarn add @rowsncolumns/calculatorYou can also run calculations in a web worker. Only the evaluation is done in a worker thread, while the dependency graph and dependency parser remains in the main UI thread
yarn add @rowsncolumns/calculator-webworkerThe dag package is used to store cell dependencies. You can use it to get dependents and precedents of a cell
yarn add @rowsncolumns/dagThe functions package contains built-in functions supported by Spreadsheet. It also contains function descriptions, parameters etc.
yarn add @rowsncolumns/functionsThis is the main canvas grid that powers the spreadsheet
Contains all icons used by Spreadsheet
All export/import functions are available in the toolkit
Exposes hooks to manage spreadsheet state. Only required if you are not using a custom state management solution
The UI package contains all shared components used by Spreadsheet. CSS is powered by Stitches. We do have plans to migrate to tailwind
Shared sheet utility functions
The pivot package provides advanced pivot table functionality powered by DuckDB for row/column grouping and aggregations.
Last updated
yarn add @rowsncolumns/gridyarn add @rowsncolumns/iconsyarn add @rowsncolumns/toolkityarn add @rowsncolumns/spreadsheet-stateyarn add @rowsncolumns/uiyarn add @rowsncolumns/utilsyarn add @rowsncolumns/y-spreadsheetyarn add @rowsncolumns/pivot