material-ui data grid code example
Example 1: material ui grid react
npm install @material-ui/core
Example 2: pre selected data-grid material-ui
const apiRef = React.useRef(null);
...
{
if (!apiRef.current) {
apiRef.current = params.api.current;
}
return No rows;
}
}}
{...}
/>