Skip to Content
APIGrid CoreGridSchemaWithConfig

GridSchemaWithConfig type

GridSchema along with the generated PluginConfig.

Tip

This API reference is automatically generated from the source code  of the @jsoc/grid-core  package.

View Declaration

export type GridSchemaWithConfig<C extends PluginConfig> = GridSchema<C> & { readonly config: C; };

Fields

NameTypeDefault
storeGridStore<C>

The store that contains the schema.

idstring
rowsGridRows
primaryColumnKeystring
originGridSchemaOrigin<C> | null
getCellValue<D extends ColumnDataType>(cell: GridCellLocation) => ColumnValueByDataType[D]

Gets the cell value for the given GridCellLocation.

configC