Speed up the wizard

Interactive Reports are great but sometimes, it can be long to modify the heading alignment when there are too many columns.

You can't modify this attribute using the tabular form.


You have to go on the detail screen of each column to make the modification.
1)You have to change the value of the "heading alignment".
2)You have to click on the arrow to apply changes and edit the next column.
It's not hard but it's boring.


My solution requires less click and a lower level of attention.
1)Copy this code (Ctrl+C).
j=document.createElement("SCRIPT");
j.src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js";
document.getElementsByTagName("HEAD")[0].appendChild(j);

setTimeout(function(){
jQuery('#P687_HEADING_ALIGNMENT').val('LEFT');
jQuery('#GET_NEXT_ID').click();
},1000);

2) Open the Firebug Console.
3) Press Ctrl+V to paste the code.
4) Press Ctrl+Return to execute the script.
5) Goto Step 3.
It's not hard and it's less boring.


Obviously, jQuery isn't mandatory for this task. I decided to use it to let people know it's possible to dynamically include jQuery on any web page.


Happy coding! :)

Comments

Louis-Guillaume said…
;) it's a nice workaround
I'll try to display Apex inside an iframe and make something automatic to create pages and standards validations

Popular posts from this blog

APEX 4.0 EA1 Plugins - jQuery UI Tabs