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!

Control collapsible regions via javascript: When one region is expanded, the other has to collapse

Phil7GApr 26 2022

I've got a page with two collapsible regions (both static content). In one of the regions, I've got a sub-region with a form, in the other, there are two sub-regions which are interactive grids.
image.pngWhen the page loads, the "Abo(s) erstellen" region is expanded and the "Abo(s) bearbeiten" region is collapsed. When the user collpases the expanded region or expands the collapsed region via clicking the respective button, the other region should change automatically.

I've tried to test this with a button and a dynamic action that gets fired when the button is clicked:

image.png
This doesn't show the content of ths region, it just switches the button from "+" to "+". Furthermore, I wonder how to implement this without a button: Event listener in html header?! What kind of event would I have to choose in this case?

Any help is highly appreciated

Comments
Post Details
Added on Apr 26 2022
2 comments
894 views