Hi,is there an option to refresh a subgrid control from a powerapps control?We currently have a setup with 1 subgrid, 1 custom grid. The custom grid creates rows in the subgrid but changes aren't reflected immediately, a manual refresh has to be triggered. Can we call the subgrid resfresh somehow?Laurens Vandendriessche
A PCF component lives in it's own self contained world it doesn't have the ability to talk to or control the other controls on a form.
If your custom grid PowerApps control is a field control you could update a bound return value and write a script at the form level to trigger the subgrid refresh as you refresh the bound value.
If you PowerApps control is a DataSet control, sadly, I can't think of any way to tell the page that the datagrid needs to be updated.
but for calling the refresh of the subgrid I need to be able to get the control from the formcontext. However, I cannot seem to find the formcontext in the context (found several contexts in the unexposed API but formcontext is not one of them).
@HemantGAny news on this?
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.