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!

How to hide/close a region programmatically? (Apex 19.2)

John like many othersJan 5 2021 — edited Jan 5 2021

I try to close a region (inline dialog) programmatically. Either the documentation lacks or there is just no official function to do this. I know there is an internal function "close Region" that is working but I need it programmatically and as there is such a function it somehow must be accessible that way.
I also tried to set an ID on the region and to close it by JQuery:
$('#MYREGION').hide(); -> Does only hide the body, header (with title) stays
$('#MYREGION').css('display', 'none'); -> Keeps the whole dialog but empties the body
As ppl are already asking since 2012 for this I can't find it in the documentation of Apex 19.2
So how do I properly close an inline dialog programmatically?

Comments
Post Details
Added on Jan 5 2021
3 comments
2,409 views