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!

APEX 5 - Refresh IR region without losing focus on original region

J-LigJun 3 2015 — edited Jun 8 2015

I have several interactive reports that are on a page. When you select a row in the top report, it refreshes all of the other reports. This works fine. However, it changes the focus to the last report that was refreshed. So, basically scrolls all the way down to the bottom of the page. I would like to keep the focus at the top of the page, but allow the user to scroll down to see additional information if they want to.

Also, I added a Region Display Selector directly below the main report to allow the user to determine which sub-reports they will see. When the user has selected a specific report to view (instead of Show All) I see the following error in the console:

TypeError: that.element.find(...)[0] is undefined1                                           widget.interactiveReport.min.js:1:27035

when I look in widget.interactiveReport.min.js:1:27035 at that location I can see that it is erring on the following:


that.element.find(":focusable")[0].focus())

I am assuming it is attempting to set focus to the last region that was refreshed and it cant because that specific region is not currently being displayed.

The good thing is, that it looks like it is being refreshed even though it is not being displayed and the error is not apparent to end users.

However, I would really like to be able to refresh regions without losing focus on my original region. Is that possible?

Jennifer

This post has been answered by Anthony Rayner-Oracle on Jun 8 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 6 2015
Added on Jun 3 2015
3 comments
1,911 views