1

I need to create a table and handle the data on the front end, handle an array, if user clicks something, I will remove the item from the array and the table will remove the row from it.

I need to create a simple table, like List component, but, passing it an array, I have checking the component ArrayField, but I dont understand how React Admin knows which array I want to pass it.

https://marmelab.com/react-admin/Fields.html#arrayfield

Is this possible?

Im thinking about create a new table all with Material-UI and avoid to use List component for this.

1 Answer 1

3

You should definitely NOT use react-admin's <List> or <Datagrid> for this use case - they are designed to use the dataProvider as datasource.

Writing your own table with material-ui components is the way to go.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.