How to use the Classic Report Print Button in Oracle Apex

How to use the Classic Report Print Button in Oracle Apex

How to use the Classic Report Print Button in Oracle Apex

;

1. Create a Classic Report;
2. Create a Button, Name-Print;
3. Go-to Button Properties -> Icon- fa-print;
4. Create dynamic action on the Print button -> Name- Print
Advanced -> Event Scope - Static
1. Action -> Execute JavaScript Code -> Paste the following code -

    
    var navCollapsed = 0;
if ($("body").hasClass("js-navExpanded")) {
    $("#t_Button_navControl").click();
    navCollapsed = 1;
};
setTimeout(3000);


//////// Hide ////////
//Hide Navigation Bar List
$("#t_Header").hide();
//Hide Navigation Menu
$("#t_Body_nav").hide();
//Hide Breadcrumb
$("#t_Body_title").hide();
//Hide Content Offset
$("#t_Body_content_offset").hide();
//Hide Report Column Edit Link
$(".apex-edit-page").hide();
//Hide Report Download Links
$(".t-Report-links").hide();
//Hide Buttons
$(".t-Button").hide();
//Hide Footer
$(".t-Footer").hide();

//////// Browser Print ////////
window.print();
//////// Show ////////

//Show Navigation Bar List
$("#t_Header").show();
//Show Navigation Menu
$("#t_Body_nav").show();
//Show Breadcrumb
$("#t_Body_title").show();
//Show Content Offset
$("#t_Body_content_offset").show();
//Show Report Column Edit Link
$(".apex-edit-page").show();
//Show Report Download Links
$(".t-Report-links").show();
//Show Buttons
$(".t-Button").show();
//Show Footer
$(".t-Footer").show();

//// Expand Left Navigation Bar If It Was Colapsed ////
if ( navCollapsed == 1 ) {
    $("#t_Button_navControl").click();
}
 

🔗 Demo Application-
            URL- Demo Application
            Username - demo, Pass- demo
 

I hope everyone will like it. Please watch the full video,
Comment on any of your problems, I will try my best to solve the problem, In-Shah Allah. Everyone's cooperation is desirable. Visit my blog site, new technology related videos, you will get different types of tutorials of Oracle Apex, and hopefully, you can use them in your daily work.
Please stay tuned by subscribing to the YouTube channel, and encourages new videos to be uploaded.
=================
Visit my site to get more collaborative posts about Oracle Apex and subscribe to my YouTube channel. Thanks.
Comment on any of your issues, I will try my best to solve the problem, In-Shah Allah. Everyone's cooperation is desirable.
Visit my blog site, new technology-related videos, you will get different types of tutorials of Oracle Apex, and hopefully, you can use them in your daily work.
==============================

🙍🏾‍ Md jABER HOSSEN
📲 Mobile- +8801760688286
📨 Email- jaberit786@gmail.com
🌐 FB- facebook.com/mdjaber.hossen1
Please Subscribe to My Channel

Many thanks for visiting the site.

Then Enjoy.........................

Post a Comment

Hlo Sir

Previous Post Next Post