Skip to content
Sheetwrite

Sheetwrite / Documentation

Sheetwrite@sheetwrite/react

Convenience component for local object rows.

Convenience component for local object rows. It derives a single-sheet workbook from columns, defaultRows, and sheetName, initializes Sheetwrite, and owns the Grid through prop-driven resets and unmount cleanup. Pass a ref to access the live Grid; use SheetwriteGrid when the host already owns a workbook or datasource.

Declaration

function Sheetwrite<Row extends Record<string, CellScalar>>(
props: SheetwriteProps<Row> & {
ref?: ForwardedRef<Grid>;
},
): ReactElement