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!

IG custom row actions menu - Duplicate

partlycloudyOct 30 2018 — edited Feb 14 2019

APEX 18.2

Follow-up to adding a custom menu item to the Interactive Grid Row Actions menu as discussed in this thread.

The IG has multiple alternative default reports defined. Whenever the report view is changed, the custom menu items are added over and over!

https://apex.oracle.com/pls/apex/f?p=1855:35 is an example

pastedImage_0.png

Strange because I see code to specifically handle this condition in John's example

// do this after the page loads but before the IG is initialized to catch the initial events$(function() {  // listen for view change events to find out when grid views are created   $("#emp").on("interactivegridviewchange", function(event, data) {  if ( data.view === "grid" && data.created ) {  var view = apex.region("emp").widget().interactiveGrid("getViews", "grid"),  menu$ = view.rowActionMenu$;  menu$.menu("option").items.push({

Any ideas?

Comments
Post Details
Added on Oct 30 2018
9 comments
1,984 views