IG Hack - #1, Add a custom action to the Actions Menu in Interactive Grid in Oracle APEX
This blog explains how to add a custom action to the Actions Menu.
1) Create an Interactive Grid.
2) Provide a Static ID to the Interactive Grid. (In this example it is emp).
3) Paste the below javaScript code in the Execute When Page Loads section.
In the above code, emp must be replaced with the Static ID that you have provided.
The values of id, label, icon can be replaced with any other text/icon, based on the requirement.
As a result of the above code, an Alert pops up on click of the newly added action.
Code to show the alert can be replaced with any other javaScript code/function call, based on the requirement.
Example: apex.event.trigger API can be used to call a custom Dynamic Action.
Click here for DEMO
HAPPY CODING!!!
Thank you :)
Comments
Post a Comment