Excel Download From HTML Report On Oracle Apex
Excel Download From HTML Report On Oracle Apex
Topic Introduction: In this tutorial, we will show how to Excel Download From HTML Report On Oracle Apex. In a previous post, we shared how to create and print an HTML report on Oracle Apex. To see details you can see this video or follow the work description of this post.
01. Create a button named Excel for Excel Download
02. Give a static ID "btnExcel" for the button on the Button property
03. Go to page property and write this Javascript code on Finction and Global Variable Box
$('#btnExcel').on('click',function(){var htmltable= document.getElementById('PrintArea');var html = htmltable.outerHTML;window.open('data:application/vnd.ms-excel,' + encodeURIComponent(html));});
No comments