diff --git a/docs/data/material/components/table/DataTable.js b/docs/data/material/components/table/DataTable.js
index 1a509df8f8bfb6..084ff21cccd9c7 100644
--- a/docs/data/material/components/table/DataTable.js
+++ b/docs/data/material/components/table/DataTable.js
@@ -1,5 +1,6 @@
import * as React from 'react';
import { DataGrid } from '@mui/x-data-grid';
+import Paper from '@mui/material/Paper';
const columns = [
{ field: 'id', headerName: 'ID', width: 70 },
@@ -33,21 +34,19 @@ const rows = [
{ id: 9, lastName: 'Roxie', firstName: 'Harvey', age: 65 },
];
+const paginationModel = { page: 0, pageSize: 5 };
+
export default function DataTable() {
return (
-
+
);
}
diff --git a/docs/data/material/components/table/DataTable.tsx b/docs/data/material/components/table/DataTable.tsx
index f902e6e0089b41..1343ddcbb2b935 100644
--- a/docs/data/material/components/table/DataTable.tsx
+++ b/docs/data/material/components/table/DataTable.tsx
@@ -1,5 +1,6 @@
import * as React from 'react';
import { DataGrid, GridColDef } from '@mui/x-data-grid';
+import Paper from '@mui/material/Paper';
const columns: GridColDef[] = [
{ field: 'id', headerName: 'ID', width: 70 },
@@ -33,21 +34,19 @@ const rows = [
{ id: 9, lastName: 'Roxie', firstName: 'Harvey', age: 65 },
];
+const paginationModel = { page: 0, pageSize: 5 };
+
export default function DataTable() {
return (
-
+
);
}
diff --git a/docs/data/material/components/table/DataTable.tsx.preview b/docs/data/material/components/table/DataTable.tsx.preview
index 594e38d89a8569..876664a4a842c2 100644
--- a/docs/data/material/components/table/DataTable.tsx.preview
+++ b/docs/data/material/components/table/DataTable.tsx.preview
@@ -1,12 +1,10 @@
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/docs/data/material/components/table/table.md b/docs/data/material/components/table/table.md
index f3deeb522df77d..ca183adcf6fc60 100644
--- a/docs/data/material/components/table/table.md
+++ b/docs/data/material/components/table/table.md
@@ -34,7 +34,7 @@ This constraint makes building rich data tables challenging.
The [`DataGrid` component](/x/react-data-grid/) is designed for use-cases that are focused on handling large amounts of tabular data.
While it comes with a more rigid structure, in exchange, you gain more powerful features.
-{{"demo": "DataTable.js", "bg": "outlined"}}
+{{"demo": "DataTable.js", "bg": true}}
## Dense table