-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering a Datagrid outside of a resource #5020
Comments
Hi, You must now enclose your Datagrid inside a |
i just ran into this issue when i tried to upgrade from 3.3.0. its no longer clear from docs how to do datagrids with custom data. what ended up working was:
based on the documentation we initially tried using |
react-admin version 3.7.0
Hi!
I used to be able to render a Datagrid not attached to a specific resource. I used to pass the Datagrid an array of items via the
data
prop and their respective ids via theids
prop. How to achieve this now in version 3.7.0?Based on the following lines, it seems RA is now only reading the ListContext for data and ids. I am unable to find a way to pass my
data
andids
props to my Datagrid now. Thank you for your help.react-admin/packages/ra-ui-materialui/src/list/Datagrid.tsx
Lines 84 to 96 in bc9ac4e
The text was updated successfully, but these errors were encountered: