APEX-AT-WORK no image

Automatic refresh of Interactive reports (IRR)

Von Tobias Arnhold 8.06.2009
You have maybe heard how to refresh a page within a time period: Page auto refresh
I had the requirement to do this just within an Interactive report (IRR). It was a bit tricky but I could solve it.
Just add the following code into the page header:

<script type="text/javascript">
// automatic reload IRR
function fnc_reloadIRR () {
// start IRR reload
// repeat search after 30 seconds
window.setTimeout(fnc_reloadIRR, 30000);
// start function the first time after 20 seconds
window.setTimeout(fnc_reloadIRR, 20000);

More details about this solution here: IRR (Interactive report) auto refresh

Update 27.02.2010
Instead of using gReport.search('SEARCH'); you could also try this: gReport.pull();
Here another interesting link about modifying Interactive Reports: Interactive Reports, Handy Tips Part 1

Post Tags: