EXAMPLES
Basic spreadsheet
Create an editable spreadsheet with a toolbar using createSheet().
Core integration
createSheet() does not access the Custom Elements registry. The toolbar and formula bar are enabled by default.
ts
import { CyExcelCore, matrixToWorkbookSnapshot } from "cyexcel/core";
const sheet = createSheet(document.querySelector("#sheet"), {
snapshot: matrixToWorkbookSnapshot(rows),
headerHeight: 28,
rowHeaderWidth: 48
});Interactive example
Edit cells, resize columns, select ranges, and navigate with the keyboard.