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

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
Super User

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,964)