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?