You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setSort={(field, order) =>setSort({ field, order })}
2861
+
>
2862
+
<TextField source="id"/>
2863
+
<TextField source="title"/>
2864
+
</Datagrid>
2865
+
<Pagination
2866
+
page={page}
2867
+
setPage={setPage}
2868
+
perPage={perPage}
2869
+
setPerPage={setPerPage}
2870
+
total={total}
2871
+
/>
2879
2872
);
2880
2873
}
2881
2874
```
2882
2875
{% endraw %}
2883
2876
2877
+
**Tip**: If you use the `<Datagrid rowClick>` prop in this case, you must also set the `basePath` prop to let the `<Datagrid>` compute the link to the record pages.
2878
+
2884
2879
## Third-Party Components
2885
2880
2886
2881
You can find components for react-admin in third-party repositories.
0 commit comments