Skip to Content
APIMUI DataGridPluginConfigMui

PluginConfigMui type

Tip

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

View Declaration

export type PluginConfigMui = PluginConfig<ColDefMui> & Pick<DataGridProps<GridRow>, "rows" | "columns" | "getRowId">;

Fields

NameTypeDefault
__columnTypeColDefMui

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.

rowsreadonly UJSONObject[]

Set of rows of type [[GridRowsProp]].

[]
columnsreadonly GridColDef<UJSONObject>[]

Set of columns of type [[GridColDef]][].

getRowIdGridRowIdGetter<UJSONObject>

Return the id of a given [[GridRowModel]]. Ensure the reference of this prop is stable to avoid performance implications. It could be done by either defining the prop outside of the component or by memoizing it.