Skip to content
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

Row Unique Id for MaterialTable v4 #3228

Open
ofirTelecareBill opened this issue Oct 23, 2023 · 1 comment
Open

Row Unique Id for MaterialTable v4 #3228

ofirTelecareBill opened this issue Oct 23, 2023 · 1 comment
Labels
question Further information is requested wontfix This will not be worked on

Comments

@ofirTelecareBill
Copy link

I'm using MaterialTable v4, and I'm trying to get rid of a warning:

The table requires all rows to have an unique id property. A row was provided without id in the rows prop. To prevent the loss of state between renders, please provide an unique id for each row.

I tried adding this:

components={{
       Row: props => <MTableBodyRow id="SOME-ROW-ID-HERE" {...props} />
}}

But it's complaining about MTableBodyRow:

Line 1000:40: 'MTableBodyRow' is not defined react/jsx-no-undef

Any thoughts on this?

@ofirTelecareBill ofirTelecareBill added the question Further information is requested label Oct 23, 2023
Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

@stale stale bot added the wontfix This will not be worked on label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant