cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pedrodecarvalh
Helper I
Helper I

Refresh Page after submit

Hi everyone,


I would need to refresh the page after a new register is created on a sub grid or edited...

 

This code works but I needed to make it load only when and entity form button submit is pressed... else it makes a loop and stays always refreshing

 

$(".entity-grid.subgrid").on("loaded", function () {
location.reload();
});
1 REPLY 1
OliverRodrigues
Super User II
Super User II

Hi, in this article I explain how to compare to see if there was a new record added to a subgrid: http://oliverrodrigues365.com/2020/11/22/power-apps-portals-javascript-tip-03-load-edit-modal-after-...

I believe it only works for a small subset of data in your subgrid




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Apps Portals Super User


Oliver Rodrigues


 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Users online (21,369)