SpreadsheetProvider
Context Provider that isolates Spreadsheet internal state
Each Spreadsheet instance should be wrapped in a SpreadsheetProvider component so that each instance will have its own set of props and internal state.
useSpreadSheet hook
Children of SpreadsheetProvider will have access to useSpreadsheet
hook that exposes several internal functions a developer can access.
Multiple Spreadsheets
You can render multiple Spreadsheet UI's in a single page, each able to work independently or together. It is left to your imagination.
You can share tables, charts, embeds
across multiple sheets or even sheets and sheetData.
Each Spreadsheet should be wrapped in <SpreadsheetProvider />
to isolate internal state, such as formulaMode
, cell editor states, cell selection states etc.
Last updated