Having some trouble with column grouping in MUI data grid pro. I am using typescript and trying to implement column grouping, but encountering issues with the module GridColumnGroupingModel, which is used as the type definition for columnGroupingModel. Following examples on MUI docs, I attempted to import it from data-grid-pro like this:
import { GridColumnGroupingModel } from "@mui/x-data-grid-pro"
Unfortunately, I keep getting an error message stating:
Module '"@mui/x-data-grid-pro"' does not export 'GridColumnGroupingModel'.
The @mui/x-data-grid-pro version installed in the project is 5.12.2, but the issue persists even with version 5.16.0.
Any insights on what might be causing this and how to resolve it?