I have tried the options I can find to refresh a single region (classic report) on an APEX 4 page. I want the refresh to happen automatically without any input from a user (no button press, no sorting on the report or anything). Just based on a 5 second interval. Can someone help me further. It seems that I need to either use javascript or jquery. I am not sure where to put this code.
I have tried the following different methods. I put them in the Region Footer. Not sure if that is the proper place. Nothing happened when I did this.
Using: Application Express 4.0.2.00.07
<script type="text/javascript">
<!--
jQuery('#STATIC_ID_OF_REGION').trigger('apexrefresh');
//-->
</script>
<script type="text/javascript">
<!--
setInterval( "$a_report('#REGION_ID#'.substring(1), 1, 7, 7);", 5000);
//-->
</script>
<script type="text/javascript">
<!--
setInterval(function(){ $('#P4_LIST').trigger('apexrefresh'); }, 000);
//-->
</script>
Thanks.
Edited by: cjmartin on Oct 13, 2011 2:34 PM