optimistic-gold
optimistic-gold5mo ago

mui datagrid 7

Is mui datagrid 7 compatible
2 Replies
kapa.ai
kapa.ai5mo ago
Hi @Joe Gaffney. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- The compatibility of MUI DataGrid version 7 with Refine's useDataGrid hook has been a topic of discussion in the community. According to the information from the GitHub issue #5997 (https://github.com/refinedev/refine/issues/5997), there have been some compatibility issues when upgrading to @mui/x-data-grid-pro version 7.5.1. Specifically, the dataGridProps type returned from useDataGrid was not compatible with DataGridPro, leading to TypeScript errors. A member of the Refine team identified that the issue was due to a type mismatch in the onFilterModelChange property. They suggested a workaround by downgrading @mui/x-data-grid-pro to version 6.20.0, which resolved the issue for some users. Additionally, there was a discussion in a Discord support thread where it was mentioned that the resizable attribute for columns was added in version 7 of the data grid package. This indicates that while some features from version 7 are recognized, there might still be some integration issues that need to be addressed. For now, if you are experiencing issues with MUI DataGrid version 7, you might consider downgrading to an earlier version or keeping an eye on the GitHub issues and discussions for updates and fixes. For more detailed information, you can refer to the following sources: - GitHub Issue #5997 (https://github.com/refinedev/refine/issues/5997) - Discord Support Thread (https://discord.com/channels/837692625737613362/1232694016605294612) If you need further assistance or want to contribute to resolving these issues, you can check out the Contributing Guide (https://refine.dev/docs/guides-concepts/contributing/#ways-to-contribute) on the Refine documentation. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai5mo ago
<@422289470487003153> kapa.ai is still learning and improving, please let us know how it did by reacting below