Skip to content

SimpleSheetwriteOptions@sheetwrite/core/adapter

On this page

Framework-neutral simple columns, rows, sizing, and grid options.

Members 5

columns
columns: readonly SimpleColumn<Row>[];
defaultRows
defaultRows: readonly Row[];
sheetName
sheetName?: string;
getRowId Opt-in stable data-row identity extractor.
getRowId?: (row: Row, index: number) => Id;
createRowId Optional identity factory for rows inserted by the Grid.
createRowId?: RowBridgeOptions<Row, Id>["createRowId"];

Declaration

View full TypeScript declaration
export interface SimpleSheetwriteOptions<
Row extends Record<string, CellScalar>,
Id extends RowBridgeId = RowBridgeId,
> {
columns: readonly SimpleColumn<Row>[];
defaultRows: readonly Row[];
sheetName?: string;
getRowId?: (row: Row, index: number) => Id;
createRowId?: RowBridgeOptions<Row, Id>["createRowId"];
}

Referenced by

Workspace packages depending on @sheetwrite/core

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

Public exports naming SimpleSheetwriteOptions

Documentation