Skip to content
Sheetwrite

Sheetwrite / Documentation

SpreadsheetShellOptions@sheetwrite/core/shell

Host elements and feature options used to create a spreadsheet shell.

Host elements and feature options used to create a spreadsheet shell.

Members 5

grid Options for the single grid the shell owns.
grid: GridOptions;

Options for the single grid the shell owns. `initSheetwrite` must already be awaited.

toolbar Toolbar items (default: the full built-in action set).
toolbar?: readonly ToolbarItem[];
onChange Event callbacks forwarded from the owned grid.
onChange?: (event: ChangeEvent) => void;
onSelectionChange
onSelectionChange?: (selection: Selection | null) => void;
onReady
onReady?: (grid: Grid) => void;

Declaration

View full TypeScript declaration
export interface SpreadsheetShellOptions {
grid: GridOptions;
toolbar?: readonly ToolbarItem[];
onChange?: (event: ChangeEvent) => void;
onSelectionChange?: (selection: Selection | null) => void;
onReady?: (grid: Grid) => void;
}