Lattice Grid Buy a licence

React adapter ยท console.warn

<LatticeDataGrid> ignored "{prop}": {reason}...

Printed by React adapter, prefixed [lattice], since 1.80.0.

Warnings reference › react:mui-prop-unsupported:*

Identifier
react:mui-prop-unsupported:*
Raised by
React adapter
Since
1.80.0

What happened

<LatticeDataGrid>, the MUI X DataGrid-shaped React component, was handed something it does not map onto the grid: an MUI prop outside the accepted list, a Pro/Premium prop, sx, classes or initialState, a column-definition key, column type, slot, filter operator or CSV option it has no translation for, an "exclude" selection model, an updateRows replace, or one of the three paging props over a source that is not a memory source. The * is the name, so each one is reported once and separately. Nothing of it was applied: a filter model with one untranslatable operator is not applied at all, and a refused page model leaves the source's rows exactly as they are.

The fix

Read the reason in the message. Drop the prop, or reach the same result the Lattice way: a controlled model instead of initialState, the --lattice-* theme tokens instead of sx, the grid's own grouping, tree, pivot and totals instead of the Pro props, and the source's own paging instead of paginationModel over a pushdown source.

The smallest fix

<DataGrid rows={rows} columns={columns} paginationModel={model} onPaginationModelChange={setModel} />

Reference

Covered in full at the API reference.