Skip to content
Sheetwrite

Sheetwrite / Documentation

createGridFromSnapshot@sheetwrite/core

Mount a grid over a validated, non-dirty snapshot.

Mount a grid over a validated, non-dirty snapshot. The grid owns and disposes the hydrated store just like one created through createGrid.

Declaration

function createGridFromSnapshot(
host: HTMLElement,
snapshot: unknown,
options?: SnapshotGridOptions,
): Grid