how to disable row checkbox in react material ui DataGrid code example
Example: pre selected data-grid material-ui
const apiRef = React.useRef<GridApi>(null);
...
<DataGrid
components={{
noRowsOverlay: (params) => {
if (!apiRef.current) {
apiRef.current = params.api.current;
}
return <div>No rows</div>;
}
}}
{...}
/>