How to change modal dialog title dynamically in oracle apex

Question: How to change modal dialog title dynamically in oracle apex ?

Answer:    Yes, It’s possible to change modal dialog title when page load.

How: Using apex_util package

Step1: Create dynamic action on page load

execute_js

Step2: Enter below code

apex.util.getTopApex().jQuery(“.ui-dialog-content”).dialog(“option”,
“title”,
“Your title”);

js_code

Step3: Run your dialog you can see dynamic title based on page item.

Reference: See apex documentation Apex API Reference

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s