// Disable license warning (only if you're 100% sure you're using free features only) LicenseInfo.setLicenseKey('');
npm uninstall @mui/x-data-grid-pro @mui/x-data-grid-premium npm install @mui/x-data-grid mui x missing license key remove
| Situation | Solution | |-----------|----------| | Using only free features | Remove premium props & set license to '' | | Have a valid license | LicenseInfo.setLicenseKey('key') | | Want to buy a license | MUI X Store | | Remove completely | Switch to @mui/x-data-grid (free) | | Just hide for dev | Use 'demo' key (not for production) | // Disable license warning (only if you're 100%
Your license key is sent via email after purchase or can be found on your MUI Store dashboard. Add the code: javascript // or pro
import LicenseInfo from '@mui/x-data-grid-premium'; // or pro