crude-lavender
crude-lavender17mo ago

Referring component’s local state inside MUI’s DataGrid

So I’m noticing that the renderCell function of a column cannot refer the updated value of the current local state of the component (useState). Is this an expected behaviour or a bug? Thanks!
4 Replies
kapa.ai
kapa.ai17mo ago
Hi @krockstar. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
kapa.ai
kapa.ai17mo ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the refine documentation (https://refine.dev/docs) and blogs (https://refine.dev/blog) for more information on this topic. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Overview | refine
What is refine?
Blog | refine
A Docusaurus powered blog!
kapa.ai
kapa.ai17mo ago
<@194753773376241664> kapa.ai is still learning and improving, please let us how it did by reacting below
blank-aquamarine
blank-aquamarine17mo ago
Hello @krockstar, can you provide us a minimal reproducible example from somewhere liks stackblitz so we can help you better?