hey all
In a model-driven application on a form, I'm using an editable subgrid (power apps grid component). I need to refresh the subgrid every time a change occurred.
Tried to solve this using JS, but could not achieve to refresh subgrid from change within the editable subgrid. It works if I change a field value on the form for example.
Anybody having a solution for this? This works when called from field outside of subgrid, but not if called from onChange in subgrid.
function refreshSubgrid(executionContext) { var formContext = executionContext.getFormContext(); var subgrid = formContext.getControl("subgrid_name"); if (subgrid) { subgrid.refresh(); } }
appreciate your help!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sahan Hasitha 231
André Arnaud de Cal... 83 Super User 2025 Season 2
BillurSamdancioglu 68 Most Valuable Professional