Table component in the source code.
Usage
You can import from/src/components/Table and apply a different variant to change styles from simple or standard (the MUI default):
getCellClassName and getRowClassName functions.

Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Supplemental data grid components for use in applications.
Table component in the source code.
/src/components/Table and apply a different variant to change styles from simple or standard (the MUI default):
import { Table } from 'src/components/Table';
export default function MyComponent() {
return (
<Table variant="standard" />
);
}
getCellClassName and getRowClassName functions.
import { Table } from 'src/components/Table';
export default function MyComponent() {
return (
<Table
getCellClassName={(params) => {
if (params.row.error) {
return 'datagrid-row-error';
}
return '';
}}
getRowClassName={(params) => {
if (params.row.disabled) {
return 'datagrid-row-disabled';
}
return '';
}}
/>
);
}
