We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc927dd + 7c10281 commit 5d82f24Copy full SHA for 5d82f24
docs/DataTable.md
@@ -989,13 +989,13 @@ Additional props are passed to [the MUI `<TableCell>`](https://mui.com/material-
989
990
### `align`
991
992
-Table cells are right-aligned by default. To left-align a column, set the `align` prop to `"left"`. This is useful for numeric columns:
+Table cells are left-aligned by default. To right-align a column, set the `align` prop to `"right"`. This is useful for numeric columns:
993
994
```tsx
995
<DataTable.Col
996
source="nb_views"
997
field={NumberField}
998
- align="left"
+ align="right"
999
/>
1000
```
1001
0 commit comments