Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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 on Sep 22 2014
Added on Aug 22 2014
4 comments
1,578 views