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
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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (778)