Skip to Content
APIMantine React TablePluginConfigMantine

PluginConfigMantine type

Tip

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

View Declaration

export type PluginConfigMantine = PluginConfig<ColDefMantine> & Pick<MRT_TableOptions<GridRow>, "columns" | "data" | "getRowId">;

Fields

NameTypeDefault
__columnTypeColDefMantine

Internal property used to store the column definition type of the grid plugin. This is solely for type inference and not a valid property of the plugin config.

columnsMRT_ColumnDef<UJSONObject>[]

The columns to display in the table. accessorKeys or accessorFns must match keys in the data prop.

See more info on creating columns on the official docs site:

dataUJSONObject[]
getRowId(originalRow: UJSONObject, index: number, parentRow: MRT_Row<UJSONObject>) => string | undefined