Skip to Main Content

APEX

Auto Refresh Grid

Chad LDec 3 2021

I would like to auto refresh 1 or more Interactive Grids or Reports on a page every so often.
I'm using setInterval("jQuery('#grdMyGrid').trigger('apexrefresh');", 15000); which works. But this grid has a link that opens a modal. When the modal is open and it refreshes again, it closes the modal.
Is there a way to only refresh if a modal is not open?
Or refresh the grid without it closing the modal?

Comments
Post Details
Added on Dec 3 2021
5 comments
105 views