Skip to Main Content

Refresh region and item

ZiutAug 22 2014 — edited Aug 25 2014

Hi

I have on a page region with report (classic) and item. Data in report are changing every 5 sec. I would like to refreshing this region without using button (report and item).

For region (footer) I create javascript:

<script type="text/javascript">

<!--

  setInterval("jQuery('##REGION_ID#').trigger('apexrefresh');", 5000);

//-->

</script>

And it works fine only for report. For item (inside this region)  - no.

How refresh item automatic?

Item is build as select query from db and every 5 sec should be refresh. I tryed use:

<script type="text/javascript">

<!--

  setInterval("jQuery('#P2_CURRENT_VALUE#').trigger('apexrefresh');", 5000);

//-->

</script>

...but no result.

I am not strong in javascript.

Regards

Ziut

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Sep 22 2014
Added on Aug 22 2014
4 comments
1,447 views