Skip to content

Commit 447a934

Browse files
committed
Update the documentation for version 5.11.3
1 parent 5172753 commit 447a934

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

DataTable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ The column headers are buttons that allow users to change the list sort field an
16071607

16081608
### Disabling Sorting
16091609

1610-
It is possible to disable sorting for a specific `<DataTable.Col>` by passing a `sortable` property set to `false`:
1610+
It is possible to disable sorting for a specific `<DataTable.Col>` by passing the `disableSort` property:
16111611

16121612
{% raw %}
16131613
```tsx
@@ -1617,7 +1617,7 @@ import { List, DataTable } from 'react-admin';
16171617
export const PostList = () => (
16181618
<List>
16191619
<DataTable>
1620-
<DataTable.Col source="id" sortable={false} />
1620+
<DataTable.Col source="id" disableSort />
16211621
<DataTable.Col source="title" />
16221622
<DataTable.Col source="body" />
16231623
</DataTable>

_data/versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- latest (5.11.2)
1+
- latest (5.11.3)
22
- "5.10"
33
- "5.9"
44
- "5.8"

doc/5.11/DataTable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ The column headers are buttons that allow users to change the list sort field an
16071607

16081608
### Disabling Sorting
16091609

1610-
It is possible to disable sorting for a specific `<DataTable.Col>` by passing a `sortable` property set to `false`:
1610+
It is possible to disable sorting for a specific `<DataTable.Col>` by passing the `disableSort` property:
16111611

16121612
{% raw %}
16131613
```tsx
@@ -1617,7 +1617,7 @@ import { List, DataTable } from 'react-admin';
16171617
export const PostList = () => (
16181618
<List>
16191619
<DataTable>
1620-
<DataTable.Col source="id" sortable={false} />
1620+
<DataTable.Col source="id" disableSort />
16211621
<DataTable.Col source="title" />
16221622
<DataTable.Col source="body" />
16231623
</DataTable>

doc/5.11/documentation.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797

9898
<body>
9999
<header>
100+
{% include banner.html %}
100101
{% include nav.html %}
101102
<ul id="slide-out" class="sidenav sidenav-fixed">
102103
<li class="logo">
@@ -361,5 +362,7 @@ <h2>Recipes</h2>
361362

362363
var AUTOHIDE = Boolean(0);
363364
</script>
365+
366+
{% include banner_script.html %}
364367
</body>
365368
</html>

0 commit comments

Comments
 (0)