Skip to content

Commit

Permalink
[material-ui][docs] Polish out data table demo (#43072)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanivan authored Jul 26, 2024
1 parent ac5b7ca commit e8a2ef7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/data/material/components/table/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default function DataTable() {
}}
pageSizeOptions={[5, 10]}
checkboxSelection
sx={{ overflow: 'clip' }}
/>
</div>
);
Expand Down
1 change: 1 addition & 0 deletions docs/data/material/components/table/DataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default function DataTable() {
}}
pageSizeOptions={[5, 10]}
checkboxSelection
sx={{ overflow: 'clip' }}
/>
</div>
);
Expand Down
1 change: 1 addition & 0 deletions docs/data/material/components/table/DataTable.tsx.preview
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
}}
pageSizeOptions={[5, 10]}
checkboxSelection
sx={{ overflow: 'clip' }}
/>
2 changes: 1 addition & 1 deletion docs/data/material/components/table/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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": "inline"}}
{{"demo": "DataTable.js", "bg": "outlined"}}

## Dense table

Expand Down

0 comments on commit e8a2ef7

Please sign in to comment.