Search code examples
oracle-apex

Oracle Apex Hide Edit button in IG


I want to hide the edit button which is part of the toolbar in IG.

But i cannot simply disable the actions menu as i need other options. Is there any other way or JS code to exclusively hide only the edit button?


Solution

  • Here is one option. For an interactive grid with static id my_ir put the following in "Execute when page loads"

    var actions = apex.region( 'my_ir' ).call( "getActions" );
        actions.hide( "edit" );