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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to initialize method "GETVIEWS" in INTERACTIVEGRID?

I have an interactive report with a region named: “MY_DATA_REGION” (and static id too).

I created a button with java code:

var region = apex.region("MY_DATA_REGION").widget().interactiveGrid("getViews","grid");

but when i run the page and check the console it displays the following error:

Uncaught Error: cannot call methods on interactiveGrid prior to initialization; attempted to call method 'getViews'.

Will you guys tell me what do I have to initialize and where? I'm following a video in youtube and i followed step by step and i ended getting this error, HOWEVER… my version es 22.2 and in youtube's version was “i think 20.1” or so.

This post has been answered by fac586 on Nov 27 2024
Jump to Answer
Comments
Post Details
Added on Nov 27 2024
7 comments
408 views