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!

Javascript : switch to region display selector tab

BlueForest85May 2 2023 — edited May 3 2023

Hello everyone,

MY APEX VERSION NUMBER : 22.1.0

I would like to create a button, with a dynamic action which changes the current tab of the region display selector.

I've a Javascript code like this :

var region = apex.region("RDS_STATIC_ID");
var displaySelector = region.widget().interactiveGrid("getViewsSelector");
displaySelector.setSelectedTab(1);

However I get an error for the second line.

How would you proceed ?

Thank you for your experience

Comments
Post Details
Added on May 2 2023
4 comments
1,711 views