eastern-cyan
eastern-cyan13mo 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.ai13mo 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.ai13mo 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.ai13mo ago
<@194753773376241664> kapa.ai is still learning and improving, please let us how it did by reacting below
optimistic-gold
optimistic-gold13mo ago
Hello @krockstar, can you provide us a minimal reproducible example from somewhere liks stackblitz so we can help you better?
More Posts
Save modifications to a relationshipIn my edit page for posts, I pull in the authors information. I want to save any changes to the authCustom data-provider for same resource and "useTable" for different http requestsI need to build a custom data provider for fetching data from my API. My use case requires me to shoHow to re-run useDataGrid?Hi, I have a use case wherein I want to re-fetch the rows of my table on a button click (after updatHow can i get the action in a component that receives useModalForm props?I have a component that shows as a drawer an receives useModalFrom props. how can i know the action?multiple menu entries pointing to the same resourceIs possible to have in the sidebar multiple items pointing to the same resource but changing the queuseUpdateMany to update different ids with different data for each iduseUpdateMany({resource:'', ids:IdArray, values: what to give here ?}) id1 has different value than hi am using refine firebase as the datahi, am using refine-firebase as the data provider but meta populate is not workingHow can I split on more lines the sidebar item text?I want to split the label: 'Gestione Terreno' on two lines so that it will be fully visible on the swhat's the best way to check status/debug live provider updates? (MUI/Supabase)I am using the builtin live provider and having very intermittent success with live events showing uHello I m studying if Refine is a goodHello, I'm studying if Refine is a good option for an internal admin panel I'm creating. This applic