Skip to content

SpreadsheetShell@sheetwrite/core/shell

On this page

Disposable controller for the framework-neutral spreadsheet shell.

Members 7

grid The single grid the shell owns; use it for data, search, and actions.
readonly grid: Grid;
element The shell's root element (already appended to the mount host).
readonly element: HTMLElement;
setTheme
setTheme(theme: Partial<Theme>): void;
setReadOnly
setReadOnly(readOnly: boolean): void;
setGridConfig Reconfigure the grid; the shell keeps its own toolbar/tabs suppressed.
setGridConfig(config: GridConfig | undefined): void;
setActiveSheet
setActiveSheet(id: SheetId): void;
destroy
destroy(): void;

Declaration

View full TypeScript declaration
export interface SpreadsheetShell {
readonly grid: Grid;
readonly element: HTMLElement;
setTheme(theme: Partial<Theme>): void;
setReadOnly(readOnly: boolean): void;
setGridConfig(config: GridConfig | undefined): void;
setActiveSheet(id: SheetId): void;
destroy(): void;
}

Referenced by

Workspace packages depending on @sheetwrite/core

  • @sheetwrite/benchdependency
  • @sheetwrite/docs-startdependency
  • @sheetwrite/reactdependency
  • @sheetwrite/sveltedependency
  • @sheetwrite/vuedependency
  • @sheetwrite/xlsxdependency

Public exports naming SpreadsheetShell

Documentation