Reputation: 332
As per the title, I was hiding couple of columns in xgrid and it throws a error/warning in the console.
Warning: Failed prop type: Material-UI: The
anchorEl
prop provided to the component is invalid. The anchor element should be part of the document layout. Make sure the element is present in the document or that it's not display none.
Upvotes: 1
Views: 279
Reputation: 548
It looks like it's a bug. XGrid issue log: https://github.com/mui-org/material-ui-x/issues/1372
Upvotes: 1